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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aritrareyan
Regular Visitor

X-axis labels are displaced!?

Capture.PNG

I don't understand what I did wrong. I fiddled with all the options in x-axis but can't fix it. Help?

6 REPLIES 6
v-yangliu-msft
Community Support
Community Support

Hi  @aritrareyan ,

You can try:

Format of Visual--X Axis--Type

xxxxxx.png

 

Best Regards,

Liu Yang

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

aj1973
Community Champion
Community Champion

Ok I understand, Try going by elimination rule, meaning, in Power query filter your rows in opposed to the Column in question and each time you filter a set of row see if the visual gets corrected. Do it until you catch the wrong row that is causing the problem.

Sorry I am doing my best by speculating on a solution because i don't have clear vision on your data source.

Good Luck

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

aj1973
Community Champion
Community Champion

Hi,

Go back to Power query and try to Trim the column where you have those lables. It looks like you have unwanted spaces in that column.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

It didn't work. 😞

Can you share a sample of your PBIX? or maybe the data source!

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Sorry, can't do that. Data is kind of sensitive. This never happened to me before. I cleaned and trimmed the data in all tables. Changed the column type into text. Cleaned, trimmed and then reverted back into the original type. Nothing happened. I'm totally stumped on this. You are right though, there is something wrong in the columns or in the query.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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