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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
thomascampbell
New Member

TimeChart in PowerBI? Is it possible?

I have created a chart like the following in Excel.  I would like to publish this type of data to a PowerBI Dashboard and then allow personnel in my company to see the data through that Dashboard.  I can't figure out how to get this chart to work in PowerBI.  I've seen other posts that talk about it too...but wanted to provide my context to see if someone can give me an idea how to do it.  We are attempting to promote PowerBI in our company and this would help.  Thanks.

 

GOAL:  Publish Batch Times from a system in a chart in PowerBI.

Datasource:  Azure SQL Server

Currently how it works in Excel:  Refresh the query against Azure SQL Server Table, Then the chart updates.

 

TimeChartInPowerBI.png

 

Raw Data if it helps.

Datetime
Format m/dd h:mm
Datetime
Format hh:mm:ss
DateTime
Format hh:mm:ss
DatetimeBatch Run TimeTarget
11/05 8:0000:02:3400:02:00
11/05 8:0400:01:3400:02:00
11/05 8:0600:01:4600:02:00
11/05 8:0900:02:5300:02:00
1 ACCEPTED SOLUTION
thomascampbell
New Member

Here's what I ended up doing.

 

I changed the time calculation to a decimal.  So 90 seconds becomes 1.5 minutes.  220 seconds becomes 3.67 s, etc.

 

Then I plotted the "minutes" as a decimal on the Y-axis.  This worked.  The value to it as well was that for multiple charts on the same report, I could control the y-axis more easily by just setting the lower and upper bounds by number. 

 

Thanks for your help!

View solution in original post

4 REPLIES 4
thomascampbell
New Member

Here's what I ended up doing.

 

I changed the time calculation to a decimal.  So 90 seconds becomes 1.5 minutes.  220 seconds becomes 3.67 s, etc.

 

Then I plotted the "minutes" as a decimal on the Y-axis.  This worked.  The value to it as well was that for multiple charts on the same report, I could control the y-axis more easily by just setting the lower and upper bounds by number. 

 

Thanks for your help!

v-lionel-msft
Community Support
Community Support

Hi @thomascampbell ,

 

v-lionel-msft_0-1604903539925.png

The'Line chart' can not plot time type data.

You need use a custom visual.

 

Best regards,
Lionel Chen

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

 

amitchandak
Super User
Super User

@thomascampbell , I doubt That in power bi you may not be able to plot time on y-axis. You may to convert that to duration

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Do you mean that I should make the batch run times...numeric instead of time and plot that somehow?  That would work...but not ideal.  It's easy to do in Excel...why an issue in PowerBI?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Kudoed Authors