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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
PeteL1995
Regular Visitor

How Can I Centre the X-Axis Data Labels on a Bar Chart

I've got a bar chart representing financial data over a three year period. The chart itself works perfectly well, however the data labels along the x-axis aren't centred or even aligned to the same point on the bars: 

 

PeteL1995_0-1689156561228.png


After looking around online, I can't find a solution on how to resolve this formatting issues. The only suggestion I've seen relates to changing the x-axis to categorical instead of continuous. However, I don't have that option inside of the x-axis:

PeteL1995_1-1689156653459.png


How can I align the data labels to the centre of the bar chart, or at least to the same position for all bars? 

I'm hoping that I've missed an obvious solutions.



1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PeteL1995 ,

 

Have you drilled for visual objects? Please drill up the visual object to the top level then select the visual object and change the axis type from continuous to categorized.

vtangjiemsft_1-1689302081428.png

 

vtangjiemsft_0-1689302001862.png

Best Regards,

Neeko Tang

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

1 REPLY 1
Anonymous
Not applicable

Hi @PeteL1995 ,

 

Have you drilled for visual objects? Please drill up the visual object to the top level then select the visual object and change the axis type from continuous to categorized.

vtangjiemsft_1-1689302081428.png

 

vtangjiemsft_0-1689302001862.png

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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