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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
moshe_Arama2022
Frequent Visitor

Cant convert more than 24hr - help !

Hello everyone
I have a problem
I pull data from an Excel table into a power Query
In Excel is displayed like this : 36:00 ( hr )
And when it comes to the power Query , he presents it like this: 12:00 ( hr) 

I tried to change by time and by duration, it still doesn't change

I even tried to convert it to text.

moshe_Arama2022_0-1666767671798.png

  , if you have a solution it would really help me

 

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @moshe_Arama2022 ;

You could add a custom column.

=[Time] - #datetime(1899, 12, 31, 0, 0, 0)

the final show:

vyalanwumsft_0-1666862283409.png

Or 

=let _a= [Time] - #datetime(1899, 12, 31, 0, 0, 0)
in Text.From( Duration.Days(_a)*24 +Duration.Hours(_a)) &":"&
 Text.End (Text.From(_a),5)

The final show:

vyalanwumsft_1-1666862948094.png


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

View solution in original post

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @moshe_Arama2022 ;

You could add a custom column.

=[Time] - #datetime(1899, 12, 31, 0, 0, 0)

the final show:

vyalanwumsft_0-1666862283409.png

Or 

=let _a= [Time] - #datetime(1899, 12, 31, 0, 0, 0)
in Text.From( Duration.Days(_a)*24 +Duration.Hours(_a)) &":"&
 Text.End (Text.From(_a),5)

The final show:

vyalanwumsft_1-1666862948094.png


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

wdx223_Daniel
Super User
Super User

M do not support the time type over 24 hours.

you can try to change the type to duration

Hi

I tried it doesn't work looking for some code or something . 

delete the first ChangeType step which is generated by system automatically, then try to change the type manually.

I tried now,  it doesn't work either. 😥

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.