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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.