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

Times / convert minutes beyong 24h

Hi, 

I have a table with minutes. I would like to convert those minutes into hours, minutes. As Excel does, I would like to go beyond 24h, without converting to day. Can you help me? Thank you

Patrice

1 ACCEPTED SOLUTION

Accepted Solutions
EtienneOL Member
Member

Re: Times / convert minutes beyong 24h

Hi @PatriceGREN ,

Could you try adding a new column with this formula ? (I assumed your column name is 'Minutes')

Format = 
var hourNo=INT([Minutes]/60)
var minuteNo=MOD([Minutes],60)
var secondNo=INT(([Minutes]-INT([Minutes]))*60)
return
FORMAT(hourNo,"#00")&":"&FORMAT(minuteNo,"#00")&":"&FORMAT(secondNo,"#00")

I found this solution there : https://community.powerbi.com/t5/Desktop/convert-minutes-into-hours-minutes-and-seconds-Not-Days/td-...

 

Regards, 

Etienne

View solution in original post

4 REPLIES 4
EtienneOL Member
Member

Re: Times / convert minutes beyong 24h

Hi @PatriceGREN ,

Could you try adding a new column with this formula ? (I assumed your column name is 'Minutes')

Format = 
var hourNo=INT([Minutes]/60)
var minuteNo=MOD([Minutes],60)
var secondNo=INT(([Minutes]-INT([Minutes]))*60)
return
FORMAT(hourNo,"#00")&":"&FORMAT(minuteNo,"#00")&":"&FORMAT(secondNo,"#00")

I found this solution there : https://community.powerbi.com/t5/Desktop/convert-minutes-into-hours-minutes-and-seconds-Not-Days/td-...

 

Regards, 

Etienne

View solution in original post

Highlighted
PatriceGREN Frequent Visitor
Frequent Visitor

Re: Times / convert minutes beyong 24h

Hi @EtienneOL , 

Thank you,
I’m sorry I asked a question that was already resolved, I saw this solution and I didn’t understand its usefulness. 

Patrice

 

 

EtienneOL Member
Member

Re: Times / convert minutes beyong 24h

There is no problem, it was a pleasure to help. Have a nice day ! 

Etienne

PatriceGREN Frequent Visitor
Frequent Visitor

Re: Times / convert minutes beyong 24h

and it’s text, so I can’t add the values, as I could do on Excel, I must find another solution

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 441 members 3,718 guests
Please welcome our newest community members: