Explore recipe: Displaying tickets answered within different time brackets

Return to top
Have more questions? Submit a request

18 Comments

  • Mengxin

    Hi there,

    I'm trying to create the same bracket for calls and there's an error message on my query, whereas i've basically copy pasted "first reply time brackets". 

    Here's the first reply time brackets query:

    IF (VALUE(First reply time (min)) <= 60) 
    THEN "0-1 hrs"
    ELIF (VALUE(First reply time (min))>60 AND VALUE(First reply time (min)) <= 60*8)
    THEN "1-8 hrs"
    ELIF (VALUE(First reply time (min))>60*8 AND VALUE(First reply time (min)) <= 60*24)
    THEN "8-24 hrs"
    ELIF (VALUE(First reply time (min)) > 60*24)
    THEN ">24 hrs"
    ELSE "No Replies"
    ENDIF

    And here's my query: 

    and the error message indicates that line 1 is not correct. 

    IF (VALUE(Call wait time (sec)) <= 10)
    THEN "0-10 sec"
    ELIF (VALUE(Call wait time (sec)) > 10 AND (VALUE(Call wait time (sec)) <= 30)
    THEN "10-30 sec"
    ELIF (VALUE(Call wait time (sec)) > 30 AND (VALUE(Call wait time (sec)) <= 60)
    THEN "30-60 sec"
    ELIF (VALUE(Call wait time (sec)) > 60
    THEN ">1 min"
    ELSE "Missed"
    ENDIF
    0
  • Ricardo
    Zendesk Community Team

    Hello, Mengxin,

    It looks like we have an open ticket with you regarding that. I will follow up there. Thank you!

    0
  • Mengxin

    Hello Ricardo,

     

    I dont see any open tickets, could you confirm? 

    0
  • Ricardo
    Zendesk Community Team

    I have just sent you an email from that ticket. Hope it helps.

    0
  • Katie Saddlemire

    Is it possible to create a version of this that is within business hours? 

     

    Thanks! 

    1
  • Joe Beaudoin
    Zendesk Customer Advocate

    Hi Katie,

    Thanks for your question!

    Yes, it's possible. The recipe calls for the Tickets metric and the First Reply Time Brackets attribute, but you will need to leverage the First Reply Time Business Hours (min) metric in a custom calculated attribute to get what you're asking for.

    Take a look at the following screenshot:

    Notice how the First Reply Time Brackets attribute has a syntax that references VALUE(first reply time (min)) -- you will need to build your calculated attribute in a similar fashion but reference VALUE(first reply time business hours (min)) instead. Any adjustments to the bracket ranges would be up to your discretion based on how you want the data to display.

    I hope that helps!

    0
  • Christopher C.

    Hello,

    How can you stack the result on top of each other and list them per day for the last 8 days?

    For example:

    0
  • Brett Bowser
    Zendesk Community Team

    Hey Christopher,

    We have some documentation available that goes over setting up stacked bar charts here: Using stacked charts to display results

    You can then add your date filter for the last 8 days.

    Hope this helps!

    0
  • Sophie Harris

    Hi, would it be possible to create something like this, but instead showing ticket created within different time brackets? (E.g. % tickets created between 7am and 12pm, then between 12pm and 5pm etc)? 

    0
  • Devan - Community Manager
    Zendesk Community Team

    Hello Sophie Harris,

    So you should be able to replicate this report with tickets created by utilizing the following metric. I've also included an article that explains how to build a report similar to what you've described if you need some further reference. Let us know, though, if you run into any hiccups along the way.

    COUNT(Tickets Solved)

    Explore recipe: Reporting on created and solved tickets

    Best regards. 

     

    0
  • Sophie Harris

    Hi Devan - Community Manager

    Thanks for the reply! I'm a bit confused, because won't COUNT(Tickets Solved) show me a metric based on the tickets solved? Whereas I'm trying to find what % of tickets are created in various time brackets (e.g. what % of our tickets came in before 9am last week). Let me know if I'm missing something here though!

    I'm also unsure how to create the time brackets - I can see in the query above that there are some pre-made "first reply time" brackets that you can just select, but I don't know have any brackets for when tickets were created (e.g. between 12am and 7am, between 7am and 12pm etc.). Is there a query that can be shared on how to build that? Thanks, and sorry for all the questions!

    0
  • Brett Bowser
    Zendesk Community Team

    Hey Sophie,

    You'll want to create a standard calculated metric similar to what I provided below:

    IF (IN([Ticket created - Hour],ARRAY("7", "8","9","10","11", "12"))) THEN "7am-1pm"
    ELIF (IN([Ticket created - Hour], ARRAY("13","14","15","16","17"))) THEN "1pm-6pm"
    ELIF (IN([Ticket created - Hour], ARRAY("18","19","20","21","22","23","24"))) THEN "6pm-1am"
    ELIF (IN([Ticket created - Hour], ARRAY("1","2","3","4","5","6"))) THEN "1am-7am"
    ENDIF

    You can then customize the times you'd like reflect in your report. After that's completed you should be able to add COUNT(Tickets) to the metrics and this custom attribute to slice it.

    Hope this points you in the right direction!

    0
  • fellownarrator

    I am trying to create a report that brackets tickets by # in Pending, New or Open status by 0-3 tickets, 3-6 tickets and 6 or more tickets.  What is the right formula?  Here is what I have so far, this keeps just giving me the count for >6 tickets:

     

    IF (([Ticket status]="New" OR [Ticket status]="Pending" OR [Ticket status]="Open") AND VALUE(Tickets)<4)
    THEN "0-3 tickets"
    ELIF (([Ticket status]="New" OR [Ticket status]="Pending" OR [Ticket status]="Open") AND (VALUE(Tickets)>=4 AND VALUE(Tickets)<=6))
    THEN "4-6 tickets"
    ELIF (([Ticket status]="New" OR [Ticket status]="Pending" OR [Ticket status]="Open") AND VALUE(Tickets)>6)
    THEN ">6 tickets"
    ELSE "Invalid"
    ENDIF

    0
  • Chris Stock
    Community Moderator

    Hi fellownarrator I'm struggling to envisage what your report will look like. Number of tickets will be your metric, but what will your attribute(s) be?

    0
  • Farhan Virji

    I'm using the Pre-Built Support dashboard, there is a chart that shows the number of tickets as a percentage that is broken down by First Reply Time bracket, which shows the total of tickets with no reply.  However, I want to dig into the details to understand what's going on.

    I cloned the pre-built dashboard so that I could enable Drillthrough and Decompose, but those options are not working on this chart.

    Does this chart type not allow Drill through?  I'd like to see the tickets that make up each bracket.

     

    0
  • Melissa Norton

    Hey Farhan Virji,

    I've noticed when you clone the Support dashboard, it will allow you to add drillthrough on its queries, but it doesn't show any data. I've instead recreated the query from scratch and that action allows drillthrough. Not sure why, but that's what I've found.

     

     

    0
  • Farhan Virji

    Hey Melissa Norton,

    Thanks for the tip! This is going to be a pain to have to recreate all queries.  I hope Zendesk is fixing this problem.

     I recreated the query in question and I now get the option for Decompose and Focus.  The Drillthrough option doesn't appear. 

    I've noticed on some charts, Drillthrough doesn't appear even though the configuration of that chart has Allow drillthrough selected.

     

     

    Am I missing a step?

    I'm shocked that it's this difficult to get details of a chart to see the underlying tickets...

    0
  • Brett Bowser
    Zendesk Community Team

    Hey Farhan,

    You'll want to take a look at our Using Drillthrough article as provides more information on what's expected with the Drillthrough feature.

    One important note is that Drillthrough can only display attributes or metrics that are part of the already queried data tables.

    I hope this points you in the right direction!

    0

Please sign in to leave a comment.

Powered by Zendesk