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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
llyons
Frequent Visitor

DAX measure duration (hh:mm:ss)

Hello, I am a beginner learner of Power BI and having an issue with duration formatted hh:mm:ss. I have customer service Power BI table. I have serveral formated columns as duration. I need to be able to create a measure for a few durations

Below is the custom column I use in excel power query how can I do this in Power BI:

   CallsAnsIn30=Value.Divide(Value.Multiply[ANS],[#"%SL']),100) 

   TotalSpeedtoAnswer=Value.Multiply([ANS],[ASA])

    ASA = TotalSpeedtoAnswer/ANS

   SL% = CallsAnsIn30/ANS

 

Also, I have serveral duration I need to average  ex. for average handle time. I can do this in excel power query but don't know how to do in Power BI as the row I need to average are not available to create an average.

 

any help would be greatly appreciated, Thank you, Lily

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Sample data would help, Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

But it sounds like you want something like this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/td-p/793639



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

Sample data would help, Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

But it sounds like you want something like this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/td-p/793639



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Again, please forgive me as I am a new user to Power BI.

below is the measure I am using. How do I get the answer of my average to show in Visualizations as hh:mm:ss?

Talk = (AVERAGE(fTransactions[Talk.0]))

an example,  the answer of the above measure is 346 . I need the 346 formated as 00:05:46 in any one of the Visualizations.

 

Thank you in advance for your help

 

 

 

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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