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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dpombal
Post Patron
Post Patron

Convert text field h:mm:ss to duration type in powerquery

I have an excel with fields in this format and changing to duration type fails in powerquery

 

I need duration to sum column in DAX

0:13:53

 

 

0:13:53
0:53:34
0:31:32
0:47:33
1:05:25
0:52:10
1 REPLY 1
v-yuezhe-msft
Employee
Employee

@dpombal,

I am able to directly change the data type of the text column to Duration or add a custom column.

1.PNG2.PNG

=Duration.FromText([Column1])

3.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors