Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
Solved! Go to Solution.
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
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
Hi @Anonymous ,
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
There is no problem, it was a pleasure to help. Have a nice day !
Etienne
and it’s text, so I can’t add the values, as I could do on Excel, I must find another solution
User | Count |
---|---|
102 | |
90 | |
80 | |
71 | |
69 |
User | Count |
---|---|
113 | |
99 | |
97 | |
72 | |
68 |