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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi team, how are you?
I'm having a problem here to summarize a duration column that has that format: 01:24:22
I had a different format initially, but I converted it to seconds, then I converted it to that format above with this code here: https://gist.github.com/jongio/5b8dcf13ab957cecfec3932a42db0e58
The problem is, that field is considered a text field, therefore I can't summarize it anyhow. I need help to be able to summarize this data, I don't know if it is possible to apply this conversion code after the agregation in seconds. I tried to convert it to the type Time and with this format but it also did not worked.
I'm new to PBI so if the solution is complex, I would be glad if there was an explanation of it.
Thank you all for the support already!!
Solved! Go to Solution.
@Anonymous
Duration
Look at the links below, they should get you what you need.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
https://community.powerbi.com/t5/Community-Blog/Aggregating-Duration-Time/ba-p/22486
https://community.powerbi.com/t5/Quick-Measures-Gallery/Duration-to-Seconds-Converter/m-p/342279#M92
@Anonymous
Duration
Look at the links below, they should get you what you need.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
https://community.powerbi.com/t5/Community-Blog/Aggregating-Duration-Time/ba-p/22486
https://community.powerbi.com/t5/Quick-Measures-Gallery/Duration-to-Seconds-Converter/m-p/342279#M92
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!