cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dymetre973
Frequent Visitor

Converting Whole Numbers to Time

Im trying to convert these whole numbers to HH:MM formnat but get an error when trying to convert using the default in tools in Power Query .

 

Any help with being able to convert this ?

 

dymetre973_0-1660232609512.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@dymetre973 , On way it use it duration

 

#duration(0,0,[column],0)

 

Another create manually

Number.ToText( Number.IntegerDivision([Column],60))  &  ":" & Number.ToText( Number.Mod([Column],60)) 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@dymetre973 , On way it use it duration

 

#duration(0,0,[column],0)

 

Another create manually

Number.ToText( Number.IntegerDivision([Column],60))  &  ":" & Number.ToText( Number.Mod([Column],60)) 

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors