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
Awollet33
Helper I
Helper I

Calculating a measure for Averaging duration in the format of ss:mm:hh

Hi all,

 

I want to get an average duration while leaving it in the format ss:mm:hh

 

Is this possible in PowerBI?

 

Thanks,

Adam

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

Hi  @Awollet33  ,

Created some data:

v-yangliu-msft_0-1620637834626.png

Here are the steps you can follow:

1. Create measure.

Measure = FORMAT(AVERAGE('Table'[date]),"ss:mm:hh")

2. Result:

v-yangliu-msft_1-1620637834628.png

 

Best Regards,

Liu Yang

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

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @Awollet33  ,

Created some data:

v-yangliu-msft_0-1620637834626.png

Here are the steps you can follow:

1. Create measure.

Measure = FORMAT(AVERAGE('Table'[date]),"ss:mm:hh")

2. Result:

v-yangliu-msft_1-1620637834628.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

daxer-almighty
Solution Sage
Solution Sage

@Awollet33 

 

I don't know what this format ss:mm:hh is but yes, you can. First, convert everything into any common unit of time - for instance, hours or minutes or seconds or even nano-seconds if you feel brave enough 🙂 - and then calculate the average of the figures, lastly convert the result back to the weird format of yours.

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.