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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Idkpowerbi
Helper I
Helper I

Duration more than 24hrs

q_7.PNG

 

And power bi recognizes duration above 24 hours as

q_7_2 (1).PNG

 

@Greg_Deckler posted some years back about using Chelsie Eiden's duration. Here is the link for it as well. 

https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/td-p/79363...

I am not sure how to implement this though majorly because my initial format is not in total seconds type. It's in the regular text format that power bi recognizes for duration more than 24hrs.  I went through multiple community solutions and nothing worked. Please help

3 REPLIES 3
Idkpowerbi
Helper I
Helper I

@v-zhangti I think it's possible for me to use Greg's solution if I can convert this format into total duration in seconds. Can you help me do that. 

v-zhangti
Community Support
Community Support

Hi, @Idkpowerbi 

 

You could add a custom column.

=[Time] - #datetime(1899, 12, 31, 0, 0, 0)

vzhangti_0-1688353219587.png

vzhangti_2-1688353246751.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

Hi. Thanks for answering. I am sorry for not being clearer earlier. Your solution gives me in terms of days which is a common problem in powerbi when we want to visualize durations more than 24 hours. I am attaching a model visual which I will be using. This was made in excel. I will be needing to show the number of hours and minutes instead of number of days. 

q_7_3.PNG

Edit: also I see that the custom column is being recognised as text by power bi, which is another problem which I have seen in other answers. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.