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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Duration datatype and formatting errors

Hi, I'm building in powerbi from an excel data source. The [h:]mm:ss format is giving me issues. Powerquery interprets this as a Time datatype and makes a duration of 0:10:19 look like 12:10:19 AM. While i understand that's fundamentally the same thing, it's being weird if I force it to a decimal (representing decimal days).

[h:]mm:ss in excel:

graphmaster99_3-1678831882667.png

After forcing [h:]mm:ss to decimal days, powerquery makes it just different enough I can't really use it. Any ideas? 

graphmaster99_2-1678831777540.png

 

Thanks!

 

1 REPLY 1
ppm1
Solution Sage
Solution Sage

Please see this article for an easier way to handle durations.

Calculate and Format Durations in DAX – Hoosier BI

Pat

Microsoft Employee

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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