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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
nmazibuko004
New Member

Convert Duration From 0.00:00:00(DD.HH:MM:SS) to 00:00:00(HH:MM:SS)

Hi 

 

I would like to find out how can I convert Duration to hh:mm:ss. I initially had duration as text format date/time and managed to split the column and reflect Duration as Data Type 'Duration' successfully in Edit Queries. The issue is now it is reflecting as days 0.00:00:00(DD.HH:MM:SS).

 

How can change the format so that it only displays as HH:MM:SS?

 

Duration Image.jpg

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @nmazibuko004,

 

Here we can add a calculated column to get the format hh:mm:ss, please note that the data type of the column is text.

 

Duration1 = FORMAT(Table1[Duration],"hh:mm:ss")

1.png

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @nmazibuko004,

 

Does that make sense? If so , kindly mark the answer as a solution to close the case, thanks in advance.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.