Second Categories Combined - Zendesk Explore Calculated Attribute

Second Categories Combined

Support - TicketsCalculated Attribute

Merges multiple second-level conditional ticket field values into a single attribute, allowing consistent reporting across detailed categories.

Business value & use cases

Combines detailed conditional ticket field values into one dimension so teams can track all contact reasons without splitting by parent field. Supports consistent dashboards, simplifies lifecycle analysis across categories, and surfaces the drivers of support demand at the most granular level.

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 > Support - Tickets Dataset > Start Report.
  2. Select the Calculator icon for Calculations.
  3. Choose Standard calculated attribute.
  4. Paste in the code above.
  5. Edit the Ticket Field names to match your Custom Ticket Field Names. Hint: if uncertain, use the "Select a Field" drop-down below the code entry box.
  6. Validate and save.
  7. Add the attribute to your reports to view all second-level categories in one field.

Validation tips

Caveats and considerations

Update the formula whenever new conditional ticket fields are introduced and keep naming conventions consistent because the attribute displays values exactly as stored. Use this combined attribute as the default reason dimension, and consider displaying the parent field above it in reports when you want extra context.

Example chart

Example report listing all merged second-level categories alongside volume metrics

Related metrics / attributes

[Tickets Solved in Less than 20 Minutes
Support - TicketsCalculated Metric
Counts tickets that were fully resolved within 20 minutes, measured in business hours.

[True One-touch Talk Tickets
Support - TicketsCalculated Metric
Counts Talk tickets solved without requiring a follow-up reply via webform.

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