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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sabedin
Helper I
Helper I

Duration type in tooltip

Hello,

 

When I put durations in line visuals, the tooltip shows its decimal value (see screenshot). Is there any method to show its value in duration type and not in decimals.

 

changing the format in Modelling tab does not work.

 

Thank you

Sabedin

 

duration.jpg

3 REPLIES 3
MattAllington
Community Champion
Community Champion

Do you mean show it in minutes?  Time is stored as decimal numbers where 1 = 24 hours. How about converting the duration to minutes by dividing by (24 x 60)



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Unfortunately there's no Data Type Duration in PBI (although there is in the Query Editor)

You can Vote here if you want this feature added Smiley Happy

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/8814178-field-of-duration-type

 

In addition to what @MattAllington said you can also use

DATEDIFF to calculate MIN, HOUR, SECOND

https://msdn.microsoft.com/en-us/library/dn802538.aspx

OR

You can use FORMAT just be aware it converts everything to TEXT

https://msdn.microsoft.com/en-us/library/ee634398.aspx

Column = FORMAT(Table[Duration], "HH:MM:SS" )

so if you have Duration as decimal 0.75 it would be formatted as 21:00:00

 

Hope this helps! Smiley Happy

MarcelBeug
Community Champion
Community Champion

Alternatively, in the Query Editor, you can duplicate your duration column and change the data type of the duplicate to text.

Specializing in Power Query Formula Language (M)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors