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 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.
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 |
|---|---|
| 60 | |
| 59 | |
| 45 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 115 | |
| 114 | |
| 38 | |
| 36 | |
| 26 |