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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
PChmurzynski
Frequent Visitor

How to visualize 2 Time columns on Y axis and a Date column on X axis?

I have a table with 3 columns: Date, Time1, Time2. I need a chart where Y axis shows values from 0-23  and X axis shows dates in the range from the Date column. On that chart I want to plot two lines. 1 showing Time1, and 2 showing Time2 corresponding with the Date values. 

DateTime1Time2
01/01/202307:42:5815:35:51
15/01/202307:20:5016:00:56
25/01/202307:00:3816:28:03
02/02/202306:42:2316:50:13
15/02/202306:00:0517:10:25
28/02/202305:41:4317:31:40
07/03/202305:11:1817:50:57
26/03/202306:30:5019:10:17
01/04/202306:10:1919:30:39
29/04/202305:39:4420:00:03
11/05/202305:10:0620:20:29

When I try to plot this Power BI aggegates the Time1 and Time2 fields to Count or Count (Distinct) and the show as flat, constant lines (purple and blue on the picture below). Power BI doesn't allow me to show the times without aggegation. I want to see those line like i drew them below orange and green. What am I doing wrong?

Sunrise and Sunset.jpg

 

 



1 ACCEPTED SOLUTION
miTutorials
Super User
Super User

Please check the below short tutorial on how to plot time on a line chart.

 

How to Plot Time on a Line Chart in Power BI | MiTutorials - YouTube

View solution in original post

2 REPLIES 2
miTutorials
Super User
Super User

Please check the below short tutorial on how to plot time on a line chart.

 

How to Plot Time on a Line Chart in Power BI | MiTutorials - YouTube

Thanks! that looks a lot better and If I add the time columns to tooltips I can see the actual times when hovering over. How do i hide the decimals times H.M and H.M2, so they don't show when hovering over?

PChmurzynski_0-1701350847448.png

 



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.

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