cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Awollet33
Frequent Visitor

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.

View solution in original post

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
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors