Forum Discussion
PhineasT
3 years agoHelper I
Create Date Time and Shortest Wait Time Measures
I am working on a dashboard that provides various Date and Time outputs. I need to create a measure or two that will show the 'Date and Time' (in one) associated with the 'Shortest Wait Time' (in ...
- 3 years ago
lbendlin
3 years agoSuper User
Create a table variable (via SUMMARIZE) of the tickets for the current filter context, include the ticket duration (probably ignore the tickets without end time), and then do a MINX on that table variable.
PhineasT
3 years agoHelper I
Beyond my skill set.
Can you provide, or do you have a link to, an example of what your are recommending?
- lbendlin3 years agoSuper User
- PhineasT3 years agoHelper I
Here is my first attempt.
The actual 'Shortest Wait Time' for the date chosen (Sept. 19, 2020) is 00:16.49 (hh:mm:ss); However, the measure returns 12:16:00.
Did I do something wrong, or do I need to change something so that the output is 00:16:49?Data Source -
- lbendlin3 years agoSuper User
Use the FORMAT function to tame that datetime value into a duration value.