Call Duration Brackets (Customisable) - Zendesk Explore Calculated Attribute

Call Duration Brackets (Customisable)

Voice - Calls
Calculated Attribute
Splits Voice calls into customisable duration ranges, making it easier to analyse call lengths against your team’s goals and processes.

Business value & use cases

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 attribute.
  4. Paste in the code above - change the time durations to suit your team’s needs.
  5. Validate and save.
  6. Apply the attribute to reports (rows, columns, or filters).

Validation tips

Caveats and considerations

Zendesk now includes a default call duration bracket attribute, but there’s still value in creating your own. The built-in version uses broad, standardised ranges, whereas this custom attribute gives you full control to define brackets that match your team’s context.

In this example, we’ve used the timeframes for the following reasons:

Duration values must be entered in seconds, not minutes.

Example chart

Example dashboard visualizing custom call duration brackets