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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sabeensp
Helper IV
Helper IV

Line Chart with DateTime X-Axis

Hello

I have a line chart with Date and Time on teh X-Axis, on Y-Axis I have Values. On one particular day I could have multiple Values.


Date_Time ------------------ Values

1/20/20 5:46 PM                    20

1/20/20 7:15 PM                    25

1/20/20 10:50 PM                  15

1/21/20  11:46 PM                 20

2020-01-29_8-40-32.png

 

Data get's plotted just fine, but the distance between each of those date and time always spread equally, I would like to see distance between Date and Time distrubuted based on the time difference between dates and time.

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

Hi,

 

Please try to change your visual's X axis type to 'Continuous':

1.jpg

And it shows the different distance between each two date time:

2.PNG

 

Hope this helps.

 

Best Regards,

Giotto Zhi

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I have similar data to yours but I dont know how to plot the line to show th values over time without having to sum or count them? can you help please; you see when I tried to put the values of CO2 in the Y-axis it automatically applies the aggregation function count. PS I have already changed the settings to don't summarise and no calculation 

Screenshot 2022-10-28 125551.png

v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try to change your visual's X axis type to 'Continuous':

1.jpg

And it shows the different distance between each two date time:

2.PNG

 

Hope this helps.

 

Best Regards,

Giotto Zhi

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.