Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Need to calculate average of time column

Hi Team,

 

I have a column with time format. I am trying to calculate the average waiting time (AWT) which is the average of all the rows in the column.

 

AWT
00:00:51
00:02:54
00:00:20
00:03:21
00:00:08
00:00:13
00:00:05
00:00:43

 

Average of the time is

00:01:04

 

However, I am not able to directly aggregate the column in KPI as Select the AWT field. It just gives me the Latest Time or  Earliest time or Count in the Fields

 

Can anyone help here. I need to then calculate the AHT as well. Its very important for my call centre calculations KPIs

 

Regards,

Prathamesh Sable

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

You can create a measure below:

 

Measure = FORMAT(AVERAGE(Table1[AWT]),"HH:MM: SS")

 

q2.PNG

 

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

You can create a measure below:

 

Measure = FORMAT(AVERAGE(Table1[AWT]),"HH:MM: SS")

 

q2.PNG

 

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That's great, thank you. I was looking for something similar. Any idea how to manage the time that exceeds 24 hours? In my raw data, I have some values with 26:00:00, i.e., 1 day and 2 hours. 

Hi,

Does this measure work

Measure = FORMAT(AVERAGE(Table1[AWT]),"[HH]:MM: SS")

This works in MS Excel for sure.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thank you.. This really helped me to fix instead of converting the time to seconds & then calculating it & then re-converting it back. This is good. Thank you very much

hey man, how did you calculate the average handling time (kindly provide the dax formula)?

Anonymous
Not applicable

It's good, but it's text and I can't change it to type Date Time, to put the average in a graph

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.