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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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