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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors