31 Jul 2025 07:40 PM
I want to create a dashboard panel with last 7 days duration, start time, end time and average duration, max duration for a task. I am able to get the duration in an array and then get the average duration, max duration, but how do I retain the start time and end time ?
|fieldsAdd duration_min = round(round(toDouble(unixSecondsFromTimestamp(right.endtmsp)), decimals:6)- round(toDouble(unixSecondsFromTimestamp(starttmsp)), decimals:6))/60
|summarize d=collectArray(duration_min)
|fields a = record(value = d[], arraymax(d), arraymin(d),arrayAvg(d))
|expand a
how do I retain the start time and end time?
28 Nov 2025 07:29 AM
Hello, @susmita_k!
If you go to the main Dashboard Documentation Page, you'll find the "List Dashboards" section. Can you let us know if is it addressing your issue?
Thank you in advance!