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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All,
I needed to display a large number of seconds (duration) in a comprehensive format.
The below measure is working great:
duration_hh = int(sum(events[duration_sec])/(60*60*24)) & " Days, " & mod(int(sum(events[duration_sec])/(60*60)),24) & " hours and " & mod(int(sum(events[duration_sec])/60),60) & " minutes"
and to display the below in a card:
ttx = format(sum([duration_sec]),"#,###") & " seconds = " & [duration_hh]
Enjoy,
./Steph
Solved! Go to Solution.
Hi All,
As you should have read, I was just sharing this measure with the community.
Not asking for support.
Thanks anyway 🙂
./Steph
Hi All,
As you should have read, I was just sharing this measure with the community.
Not asking for support.
Thanks anyway 🙂
./Steph
Hi @slepre ,
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien
@slepre , measure ttx seem fine. I checked #,### work as a format and I am able to display it on card
What is the current output and how it is different from the expected one.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |