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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors