Hopp over til hovedinnhold

How do I generate a report that doesn't include tickets created on the weekend? - Kunnskapsbase / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. For the most up-to-date version, see: How do I generate a report that excludes Tickets created on the weekend?

How do I generate a report that doesn't include tickets created on the weekend?

Forfatterliste

For organizations that only provide support during Monday to Friday, it makes sense to exclude data from the weekend in reports to accurately develop a picture of helpdesk performance.

If you'd like to create a report that excludes tickets that were created at the weekend, add the following to the WHERE line in your DPQL query

WEEKDAY(tickets.date_created) NOT IN ('5', '6')

As you can see, this sets conditions on which days of the are included in the report by excluding 5 = (Saturday), and 6 = (Sunday).

Note

0 = Monday, 1 = Tuesday, 2 = Wednesday, 3 = Thursday, 4 = Friday, 5 = Saturday, 6 = Sunday.

For example, here is a an example of a report which will give you a list of tickets created in October, grouped by agent, whilst excluding tickets created on the weekend.


For more information on how to create reports and build queries, refer to our guide on the anatomy of a DPQL query.

Til hjelp Ikke til hjelp

22 av 34 personer syntes denne siden var til hjelp

Ny kommentar

Logg på for å registrere eller sende inn en kommentar.

Trenger du en påminnelse om passord? '