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
Hgsilva
Frequent Visitor

Turning whole number into time passed

I have a whole number column that represents minutes taken to complete a step. When I try to convert this number into a time format (e.g., 90 minutes = 1 hour 30 minutes) I get the following error. Am I doing it wrong or do I have too much data in this and will need to find a different way to do it?

Hgsilva_2-1734711344150.png

 

Hgsilva_1-1734711326598.png

 

 

1 ACCEPTED SOLUTION

4 REPLIES 4
lbendlin
Super User
Super User

Divide your number by 1440 and then use regular date/time formatting.

Ritaf1983
Super User
Super User

Hi @Hgsilva 
Please use the DAX formula :

Time_format =
Var hours = QUOTIENT('time table'[Time],60)
Var minutes = MOD('time table'[Time],60)
RETURN
TIME(hours,minutes,0)

and time format
Ritaf1983_1-1734712144697.png

 


The pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hi @Ritaf1983 ,

 

Unfortunately I receive the same error with this formula. 

 

Hgsilva_0-1734714630098.png

 

lbendlin_0-1734715035428.png

 

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