Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
whatisbam
New Member

Duration Time Tracker

I'm working on my first Power Bi dashboard.

I have very limited knowledge on PB & DAX.

Need some help pulling duration in hh:mm:ss from a table to display in a tile. 
I've been able to successfully pull the Current Time and Start Time from the linked spreadsheet.

Duration will display as 1/1/1900 12:48:04 instead of hh:mm:ss.

IMG_0728.jpegIMG_0729.jpeg
The Current Time refresh issue was solved by generating a new measure and using that instead of pulling the =NOW() from the table.

I've found links explaining that I may have to convert all dates and times into second and back to dates and hh:mm:ss inside PB.

Any help, advice and links are much appreciated.

 

Below is an outline of what I'm trying to do.


IMG_0727.jpeg

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

lbendlin_0-1710685597054.png

Duration = 
 var d = [Current Time]-[Start Time]
 return INT(d*24) & FORMAT(d,":nn:ss")

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

lbendlin_0-1710685597054.png

Duration = 
 var d = [Current Time]-[Start Time]
 return INT(d*24) & FORMAT(d,":nn:ss")

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.