Average Wait Time for a Specific Phone Line - Zendesk Explore Calculated Metric

Average Wait Time - Specific Phone Line

Voice - Calls
Calculated Metric
Calculates the average wait time for inbound calls to a specific phone number so you can monitor line-level KPIs.

Business value & use cases

Helps managers track whether certain phone lines are creating longer waits than others, especially when displaying KPIs for a single line on a dashboard. Can highlight where demand is outpacing staffing or routing capacity and pairs well with a Target KPI Value set to the desired average wait time.

Dataset and dependencies

The code

Unlock to view full code
Not sure how to work with the code? Check our getting started guides.

Implementation steps

  1. Go to Explore → Report Builder > Voice → Calls Dataset → Start Report.
  2. Select the Calculator icon for Calculations.
  3. Choose Standard calculated metric.
  4. Paste in the code above.
  5. Replace +448001234123 with the phone number you want to track.
  6. Validate and save.
  7. Add the report to a dashboard alongside any other KPIs for that line.

Validation tips

Caveats and considerations

You must create a separate version of this metric for each phone number you want to track. Best used when each line represents a distinct queue or customer journey worth monitoring. On a line-specific dashboard, pair alongside metrics such as call volume or completion rate to give a fuller view of line-level performance.

Example chart

Example dashboard tile tracking average wait time alongside line-level KPIs

Related metrics / attributes

[Phone Line Name
Voice - Calls
Calculated Attribute
Replaces raw Voice phone numbers with readable names so charts and tables are easier to interpret.

[Target KPI Value
Support - Tickets
Calculated Metric
Creates a constant numeric metric (for example 0.9 for 90%) that you can reuse as a KPI threshold across reports and dashboards.

Now share real-time data with your team

Give agents a real-time view of key data from all your tools to help them win the day.
Learn how