Hi Peepz,
Just wondering if anyone can assist with a report Query.
I'm trying to run a report where I can find out the:
"Last public reply by an agent against each ticket (ticket ID)"
Pretty much want to see when a ticket was last replied to a customer by the agent. Date and time of last reply.
Thanks!
Kenny

If you want to build a similar table, you can create your query under the Updates history dataset, and use the Public comments metric. You can then filter your report by Updater role and select Admin and Agent. Under rows, you can add the attributes Ticket ID, Update - Date and Updater name (in that order). The table will most likely show rows with zero values under the Public comments metric column. Just apply a metric filter to hide zero results (Selecting the metric result range).
Alternatively, if you're comfortable with custom reporting and building calculated attributes, you can try using the latest date functions. Here's an article talking about these date functions: Working with earliest and latest date functions. The example in that doc uses DATE_LAST_FIX to find the timestamps of the latest agent comment. Since you're looking to slice you data by
Ticket ID, you can try replacing[Updater name]in that sample formula with[Ticket ID]. You can read through that article to learn more about the earliest/latest date functions.