Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi guys,
I have numbers with decimals, like:
19,400
8,50
14,70
56,000
The are miliseconds of videos.
I need to transform that to HH:MM: SS. Is it possible? And after, will the column (power m) will work on the sum of that time?
I did see this solution, but It doesnt SUM: https://gist.github.com/jonbgallant/5b8dcf13ab957cecfec3932a42db0e58
Any ideas?
Thanks,
Ed!!
Solved! Go to Solution.
Yeah, you have to SUM it when it is in seconds and then take that SUM and convert it to HH:MM:SS format. I know, pain.
Hi,
You can do it easily with custom column created and using duration function in M Script.
https://www.powerbitalks.com/2019/12/convert-seconds-to-hhmmss-format.html
Step by step solution has been provided in the article link mentioned above.
Kaushlendra Mishra
Well, if you divide the number of milliseconds by 1000 you would have seconds and then you should be able to use the technique here to get it into HH:MM:SS. https://community.powerbi.com/t5/Community-Blog/Aggregating-Duration-Time/ba-p/22486
Yeah, you have to SUM it when it is in seconds and then take that SUM and convert it to HH:MM:SS format. I know, pain.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 122 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |