In this recipe, you will learn how to create a report that shows you the number of created tickets per month compared to the percentage of created tickets in the previous month.
What you'll need
Skill level: Beginner
Time required: 15 mins
Data source: Tickets
Ingredients:
- Tickets
- Duplicated metric of Tickets
- Ticket created - Month
How to create the report in Explore
Use the following steps to create this report in Explore.
- In Explore, click the reports (
) icon.
- In the Reports library, click New report.
- On the Select a dataset page, click Support > Support - Tickets, then click Start report. The report builder opens.
- In the Metrics panel, click Add.
- From the list of metrics, choose Tickets > Tickets, then click Apply.
- Duplicate the metric Tickets and call it Tickets copy.
- In the Metrics panel, click Add.
- From the list of metrics, choose Calculated metrics > Tickets copy.
- In the Rows panel, click Add.
- From the list of attributes, choose Time - Ticket created > Ticket created - Month.
- From the Result manipulation (
) menu, click Result path calculation.
- On the Result manipulation page, change COUNT(Tickets Copy) to the below settings:
- Pattern | % of difference
- Path | On specified attribute
- Attribute | Ticket created - Month
- Reference | Previous element
- Click Apply.
11 comments
Katie Meek
How would I modify this to only show tickets created by end users?
0
Erin O'Callaghan
Hi Katie Meek, you can add either the Requester role or Submitter role attribute (depending on exactly what you're looking for) in the Rows panel. Then click the attribute to filter it to the End-user value only.
For the difference between requester vs. submitter, see the entries in the Zendesk glossary.
0
Joshua Fox
When I tried this, I got very large numbers for each month because it was summing each named month across the four years that ZD has been active. For example, "January" numbers include January 2019, 2020, 2021, 2022. How do I get a chart with each actual month separate?
(I can do this by restricting to the last 12 months, but I'd like to get several years in this chart.)
0
Gab Guinto
You can try adding Ticket created - Year to slice your monthly data by year. If you need the rows to be in chronological order, then you need to place the Year attribute before/on top of Ticket created - Month.
0
Joshua Fox
Thank you. That was what I needed.
0
Rodney Nibbe
An End-user sorted this by Tickets and now the months are out of order. I'm not able to sort by month, how do I get it back.
I removed sorting as an option.
I resolved by re-creating the Tickets - Copy Metric - It didn't have 'sorted' stuck to it.
0
James Skene
Hi
I've followed the instructions and made few tweaks but I have an issue in that my ticket numbers for January and not showing a difference in % against the previous month
Any idea why?
0
Viktor Osetrov
It happens because you can see the % results only from the previous element.
And technically "January" has position number 1.
Hope it clarifies
0
Darius Cook
Hello,
I followed the instructions in getting the report created. I'd like to remove certain groups from the report so that it only contains specified groups. How would I do that without breaking the report up into bits. First report is without the groups added, the second will be with the groups added.
0
Ivan Miquiabas
Thanks for reaching out!
You can only use the group attribute to show what Support group an agent is assigned to.
Please follow this recipe to attain the desired goal of yours, please let us know if this recipe helps!
All the best,
0
Liz Drews
I'm curious if there is a way to select by year and Month to allow simple comparisons vs a list showing all.
![](/hc/user_images/01J046VH0QFVZ3402JBSRBHSFM.png)
1