What you'll need
Skill level: Advanced
Time Required: 25 minutes
- Zendesk Explore Professional
- Editor or Admin permissions (see Adding users to Explore)
- Ticket data in Zendesk Support
How to create the report in Explore
To create the query
- In Explore, click the query () icon.
- In the Queries library, click New Query.
- Now, select the dataset containing the ticket data you'll need to build the query.
Select Support: Ticket updates [default]. Query builder opens.
- Now, create a custom Group attribute to group the hours of ticket creation together.
Click Calculations (), and then Group.
- Name the group Daily shifts.
- Select Ticket created - Hour from the drop-down Computed from.
- Create three groups, one for each time period. To create a group, click the + icon and then select the hours you want to add. You can then use the arrows to add the values to the group. (Check out Organizing values by groups and sets for more information about setting up groups.)
- Day shift - 9am-5pm: Hours 9-16
- Night shift - 5pm-1am: Hours 17-0
- Early shift - 1am-9am: Hours 1-8
Ensure that Remove left values is chosen from the drop-down at the bottom, and tick Sort attribute members like a time attribute.
- When you are finished, click Save.
- In the Metrics panel, click Add.
- From the list of metrics, expand Tickets, click Tickets created, then click Apply.
- In the Columns panel, click Add.
- In the attributes list expand Calculated attributes, click your custom attribute Daily shifts, then click Apply.
- Click Visualization type ( ), then select Bar.
Then the query is complete! Check out the screenshot below as an example.
Keep in mind that Explore uses the current user's time zone when displaying queries, so the ticket created hour will be based on that time zone. For that reason, you might want to consider altering the hours to utilize UTC time instead of using your own time zone if you have a global team.