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
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
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