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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
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!
| User | Count |
|---|---|
| 58 | |
| 43 | |
| 41 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 121 | |
| 96 | |
| 65 | |
| 46 |