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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.