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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
BIUser1998
Helper I
Helper I

Line chart aligning single data point in center of the chart

Hello,

 

I have created two line charts in PowerBI and have the month filter on both of them for which I have selected all the months. Both the charts have only one data point though but in one of the charts the data point is shown to the extreme left on the x-axis and in the other its shown in the center of the x-axis. Any idea as to why its in the center and not to the left?

 

Any help regarding the same would be appreciated. Thank you

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

Hi @BIUser1998 ,

Based on the description, try to check if set the Date Range in the X-axis.

vjiewumsft_0-1721978209341.png

vjiewumsft_1-1721978222227.png

If do not set the range, the single data point in center of the line chart.

vjiewumsft_2-1721978236938.png

Best Regard,

Wisdom Wu

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-jiewu-msft
Community Support
Community Support

Hi @BIUser1998 ,

Based on the description, try to check if set the Date Range in the X-axis.

vjiewumsft_0-1721978209341.png

vjiewumsft_1-1721978222227.png

If do not set the range, the single data point in center of the line chart.

vjiewumsft_2-1721978236938.png

Best Regard,

Wisdom Wu

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

Ritaf1983
Super User
Super User

Hi @BIUser1998 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors