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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
JeffMullins
Frequent Visitor

Help a beginner with a line chart showing run times.

Hi. Beginner here trying to put together a line chart with average run times from 3 different dates. I am importing the data from excel, and I understand excel does not support "duration", which is a pain.

 

I have tried using a time format, and the numbers are accurate, but it only gives me a count option (1). See below: 

4cf681c8-5940-4253-82bb-38e817f25507.png1.5 mile data.png11ea1011-da0b-4260-b65b-39726247b506.png

1.5 mile vis.png

 

I have also tried using a decimal number format, but the numbers are not accurate (minutes and seconds). See below:

1.5 Mile Run Line Chart.png0601f63e-9595-4461-b724-7d8d3d9d76ab.png1.5 mile run format.png

09720f28-a043-49ff-888f-241465103a6a.png

 

I have a thought on the solution, but cannot figure out how to accomplish it. If I could convert the "decimal number" to calculate "60 seconds equals 1 minute" rather than "100 fractions equals 1 whole", this would be a solution. I've tried to solve this issue many different ways on my own but havent been able to figure it out.  I'm thinking using a measure, formula or DAX is the solution? Any help would be greatly appreciated.

 

Jeff  

 

  

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @JeffMullins ,

 

Please try:

Measure = HOUR(MAX('Table'[1 1/2 Mile Run]))*60+MINUTE(MAX('Table'[1 1/2 Mile Run]))

Apply it to the line chart:

vjianbolimsft_1-1666166226535.png

 

Final output:

vjianbolimsft_0-1666166199441.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @JeffMullins ,

 

Please try:

Measure = HOUR(MAX('Table'[1 1/2 Mile Run]))*60+MINUTE(MAX('Table'[1 1/2 Mile Run]))

Apply it to the line chart:

vjianbolimsft_1-1666166226535.png

 

Final output:

vjianbolimsft_0-1666166199441.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

PaulDBrown
Community Champion
Community Champion

For any visual which displays values, you cannot use a field/measure in time format. You need to convert it to a decimal number. You can however display Time format as a tooltip





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.