Skip to content
TheChatArchiveThe Chat Archive
DeepSeekdeepseek-r1-0528· DeepSeekHugging Face LMArena Human Preference 140K

I need to analyze data from TOPdesk in Excel, I added duration for each request so I…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with DeepSeekdeepseek-v3-0324’s answer.
  1. User

    I need to analyze data from TOPdesk in Excel, I added duration for each request so I know average time per ticket per category. Base on the data I need to figure out SLA for each category. What parameters I need to calculate to find out a sweet spot where operator can't slack off but a the same time a real time that is possible to deliver?

  2. DeepSeek Assistant

    To determine the optimal SLA per category in TOPdesk, balancing achievability and performance standards, follow these steps and calculations in Excel:

    Key Parameters to Calculate

    1. Current Resolution Time Distribution:

      • Mean (Average): Baseline performance.
      • Median: Midpoint (less skewed by outliers).
      • Percentiles (Critical for SLA setting):
        • 75th: "Good" performance benchmark.
        • 85th–90th: Target "sweet spot" (challenging but realistic).
        • 95th: Stretch goal (captures most tickets, including outliers).
    2. Variability Metrics:

      • Standard Deviation: Indicates consistency. High deviation = unstable process.
      • Coefficient of Variation (CV):
        CV = (Standard Deviation / Mean) × 100
        • CV < 20%: Low variability (set stricter SLA).
        • CV > 50%: High variability (investigate root causes).
    3. Target Compliance Rate:
      Define the % of tickets that must meet the SLA (e.g., 90%). This anchors the SLA to a measurable outcome.


    Step-by-Step Analysis in Excel

    Data Preparation:

    • Columns: Ticket ID, Category, Duration (e.g., hours/days to resolve).
    • Remove extreme outliers (e.g., unresolved tickets, errors) to avoid skewing.

    1. Calculate Category-Level Metrics:
    Use Excel formulas for each category (e.g., "Hardware Issues"):

    • Mean:
      =AVERAGEIFS(Duration, Category, "Hardware Issues")
    • Median:
      =MEDIANIFS(Duration, Category, "Hardware Issues")
    • 75th/90th/95th Percentiles:
      =PERCENTILE.INC(IF(Category="Hardware Issues", Duration), 0.75)
      (Use Ctrl+Shift+Enter for array formulas)
    • Standard Deviation:
      =STDEV.P(IF(Category="Hardware Issues", Duration))
    • CV:
      =(STDEV.P / Mean) × 100

    2. Propose SLA per Category:

    • Start with the 85th–90th percentile of resolution time.
      Example: If the 90th percentile for "Password Reset" is 4 hours, set SLA at 4 hours with a 90% compliance target.
    • Adjust based on CV:
      • Low CV (<20%): Set SLA closer to the 85th percentile.
      • High CV (>50%): Set SLA at 90th percentile + investigate causes (e.g., training gaps).

    3. Validate Feasibility:

    • Compare the proposed SLA against current performance:
      • If 80% of tickets already meet the 90th percentile SLA, tighten to the 85th.
      • If <70% meet it, use the 95th percentile or address bottlenecks.
    • Factor in business priorities: Critical categories (e.g., "Server Downtime") may need stricter SLAs (e.g., 75th percentile).

    4. Visualize for Decision-Making:

    • Histograms: Show distribution of resolution times per category.
    • Box Plots: Highlight medians, quartiles, and outliers.
    • Scatter Plot: CV (X-axis) vs. 90th percentile (Y-axis) to identify high-variance categories.

    Achieving the "Sweet Spot"

    • Operator Performance:
      SLA should be ≤ 90th percentile to push efficiency without being demoralizing.
    • Realistic Delivery:
      Ensure ≥85% of historical tickets meet the SLA. If not, adjust percentile or improve processes.
    • Continuous Refinement:
      Recalculate metrics quarterly. If compliance exceeds 95%, tighten SLA; if below 80%, reassess.

    Example Output (Excel Table)

    CategoryMeanMedian75th %90th %Std DevCVProposed SLATarget Compliance
    Password Reset3.2h2.5h3.5h4.0h1.134%4.0h90%
    Hardware Issues8.0h7.0h9.0h12.0h4.050%12.0h85%
    Server Downtime2.0h1.5h2.2h3.0h0.525%2.5h95%

    Key Takeaways

    • SLA = 85th–90th percentile of historical resolution time.
    • High CV? → Investigate process inconsistencies before setting SLA.
    • Validate against compliance targets (≥85% historical tickets should meet SLA).
    • Refine regularly based on new data and operational changes.

    By anchoring SLAs to robust percentiles and variability metrics, you ensure they are both ambitious and operationally viable.

  3. User

    Please prepare step by step instruction how to do it using pivot table tool in Excel?

  4. DeepSeek Assistant

    Step-by-Step Guide to Analyze TOPdesk Data & Set SLAs Using Excel Pivot Tables

    Assumes your data has columns: Category, Duration (e.g., hours to resolve tickets).


    Step 1: Prepare the Data

    1. Clean Data:

      • Remove outliers (e.g., tickets with 0-hour or 1000-hour resolution times).
      • Add a helper column Duration (Hours) if durations are in mixed units.
    2. Format as Table:

      • Select your data range → Insert → Table (check "My table has headers").
      • Name the table (e.g., TicketData) under Table Design.

    Step 2: Create Pivot Table

    1. Insert Pivot Table:

      • Go to Insert → PivotTable → Select TicketData → Place in a new worksheet.
      • Check: "Add this data to the Data Model" (enables advanced stats).
    2. Configure Fields:

      • Drag Category to Rows.
      • Drag Duration to Values 5 times. Rename each:
        • 1st: Average Duration → Set to Average.
        • 2nd: Median Duration → Set to Median.
        • 3rd: 75th Percentile → Set to Percentile (75).
        • 4th: 90th Percentile → Set to Percentile (90).
        • 5th: Std Dev → Set to StdDevP.

      How to change calculation:

      • Right-click a value in the PivotTable → Value Field Settings → Show Values As → Select calculation.

    Step 3: Calculate Additional Metrics

    1. Add Coefficient of Variation (CV):

      • Right-click the PivotTable → Show Field List.
      • Under Values, click the dropdown next to Std Dev → Value Field Settings.
      • Go to Custom Name and rename to CV.
      • Under Show Values As → % of Row Total → Delete this step.
      • Instead, use a formula:
        • In a cell next to the PivotTable (e.g., F1), add a column header: CV (%).
        • In F2 (next to first category):
          = (E2 / B2) * 100
          
          (Where E2 = Std Dev, B2 = Average Duration) → Drag down.
    2. Add Proposed SLA & Target Compliance:

      • Add columns:
        • Proposed SLA → =D2 (75th or 90th percentile; adjust as needed).
        • Target Compliance → Enter 90% (or customize per category).

    Step 4: Set the "Sweet Spot" SLA

    1. Determine SLA Threshold:

      • Use the 90th percentile for most categories (covers 90% of tickets).
      • For high-variance categories (CV > 50%), use 90th percentile.
      • For low-variance categories (CV < 20%), tighten to 85th percentile.
    2. Adjust in PivotTable:

      • Manually update Proposed SLA column based on rules:
        =IF(G2>50%, D2, IF(G2<20%, C2*0.95, D2))
        
        (Where G2 = CV, C2 = 75th %ile, D2 = 90th %ile).

    Step 5: Visualize Compliance Feasibility

    1. Add a Histogram:

      • Go to Insert → PivotChart → Select Histogram.
      • Drag Duration to Axis (Categories) and Values.
    2. Overlay SLA Line:

      • Right-click the chart → Add Data Label.
      • Add a reference line at the Proposed SLA value (e.g., 4 hours):
        • Chart Design → Add Chart Element → Lines → Drop Lines.

    Step 6: Final Output Table

    CategoryAvg DurMedian75th %90th %Std DevCVProposed SLATarget Comp
    Hardware8.07.09.012.04.050%12.090%
    Password Reset3.22.53.54.01.134%4.090%
    Server Downtime2.01.52.23.00.525%2.595%

    Key Notes:

    1. Why 90th Percentile?

      • Ensures 90% of tickets meet the SLA (achievable yet challenging).
      • Operators can’t slack (must resolve 90% on time) but aren’t penalized for rare outliers.
    2. Adjust for Realism:

      • If >95% of historical tickets already meet the SLA → Tighten it (use 85th %ile).
      • If <80% meet it → Use 95th %ile or fix process bottlenecks first.
    3. Update Quarterly:

      • Refresh PivotTable (right-click → Refresh) with new data.
      • Recalculate SLAs if compliance exceeds 95% or drops below 80%.

    Troubleshooting:

    • No "Percentile" in PivotTable?
      Enable Data Model: When creating the PivotTable, check "Add this data to the Data Model".

    • Can’t see StdDevP?
      Right-click a value → Value Field Settings → Summarize Values By → Scroll to StdDevP.

    • Array formulas not needed → PivotTable handles aggregations natively.

  5. User

    Please prepare step by step instruction how to do it using pivot table tool in Excel?

  6. DeepSeek Assistant

    Step-by-Step Instructions: Using PivotTables in Excel to Calculate SLA "Sweet Spot"

    Assumptions:

    • Your data has columns: Ticket ID, Category, Duration (in hours or minutes).
    • Data is in an Excel Table (named Table1).

    Step 1: Add Helper Columns

    Add these columns to your data:

    1. Duration (Cleaned):

      • Formula (e.g., in Column D):
        =IF(ISNUMBER([@Duration]), [@Duration], "")
        

      Removes non-numeric values.

    2. Percentile Group Helper:

      • Create a small table (e.g., in F1:G4):
        PercentileValue
        75th0.75
        90th0.90
        95th0.95

      (We’ll use this for dynamic percentile calculations.)


    Step 2: Create PivotTable

    1. Select your data > Insert > PivotTable.
    2. Check "Add this data to the Data Model" (essential for medians/percentiles).
    3. Place PivotTable in a new worksheet.

    Step 3: Configure PivotTable Fields

    • Rows: Drag Category here.
    • Values:
      • Average Duration:
        • Drag Duration (Cleaned) to Values > Set to "Average".
      • Median Duration:
        • Right-click in Values area > "Value Field Settings" > Show Values As > Median.
      • 75th/90th/95th Percentiles:
        • Drag Duration (Cleaned) to Values 3 times.
        • For each:
          • Right-click > "Value Field Settings" > Show Values As > % Percentile of Column.
          • In Options, enter 0.75, 0.90, 0.95 respectively.
      • Standard Deviation:
        • Drag Duration (Cleaned) to Values > Set to "StdDevp" (population).
      • CV (Coefficient of Variation):
        • Right-click in Values > "Add Measure".
          CV = DIVIDE([StdDevp Duration], [Average Duration], 0) * 100
          
          Replace bracketed names with your measure names.

    Step 4: Calculate Proposed SLA & Target Compliance

    1. Proposed SLA (90th Percentile):

      • Use the 90th percentile value (already in PivotTable).
    2. Target Compliance (Formula):

      • Add a column next to the PivotTable:
        =IF([@CV] < 20%, "95%", IF([@CV] > 50%, "85%", "90%"))
        

      Adjust targets based on CV thresholds.


    Step 5: Final PivotTable Setup

    Your PivotTable should look like this:

    CategoryAvg DurMedian75th %90th %95th %StdDevCVTarget
    Hardware8.07.09.012.015.04.050%85%
    Password Reset3.22.53.54.05.01.134%90%

    Step 6: Visual Validation

    1. Histogram:
      • Select PivotTable data > Insert > Histogram (show distribution).
    2. SLA Compliance Check:
      • Add a column to your source data:
        =IF([@Duration] <= VLOOKUP([@Category], PivotTableRange, 5, FALSE), "Met", "Missed")
        
      Replace PivotTableRange with your PivotTable’s category and 90th % columns.

    Step 7: Dynamic Adjustment

    • Tighten SLA if compliance > 95% for 3 months.
    • Loosen SLA if compliance < 80% (investigate process gaps).

    Key Output:

    Category90th %ileCVProposed SLATarget Compliance
    Hardware Issues12.0 hrs50%12.0 hrs85%
    Password Reset4.0 hrs34%4.0 hrs90%

    Final Tip: Refresh PivotTable monthly (right-click > Refresh) to update SLAs based on new data.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.