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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cswshaun
New Member

My Bar Chart Category Text is not aligned

Hi All,

 

I need abit of help. I want the bars to appear in different colors as shown in the bottom graphic (thats why i made use of the legend to help with the coloring) but the category text below the bars (position1,2,3 etc.) are not aligned to the bottom of the bars (top pic is my desired outcome but i need the colors on the bars) Is there a way to resolve this? Thanks!

 

helpmeplease.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @cswshaun ,

 

According to your statment, I think you are using clustered column chart. On my side, I can reproduce your issue.

vrzhoumsft_0-1693883598487.png

I think this is caused by the visual you are using. Due to you are using clsutered column chart, when you add [Position] into Legend field, visual support multiple legend for each X axis category.

Fx: In this visual, for Position1 Xaixs, there will be three legend data in it, however there is only Position1 has data, so it will show column in left. For Position2 Xaixs, there will be three legend data in it as well, however there is only Position2 has data, so it will show column in middle and so on.

 

Here I suggest you to try Stack column chart to achieve your goal.

vrzhoumsft_1-1693883900702.png

 

Best Regards,
Rico Zhou

 

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
Anonymous
Not applicable

Hi @cswshaun ,

 

According to your statment, I think you are using clustered column chart. On my side, I can reproduce your issue.

vrzhoumsft_0-1693883598487.png

I think this is caused by the visual you are using. Due to you are using clsutered column chart, when you add [Position] into Legend field, visual support multiple legend for each X axis category.

Fx: In this visual, for Position1 Xaixs, there will be three legend data in it, however there is only Position1 has data, so it will show column in left. For Position2 Xaixs, there will be three legend data in it as well, however there is only Position2 has data, so it will show column in middle and so on.

 

Here I suggest you to try Stack column chart to achieve your goal.

vrzhoumsft_1-1693883900702.png

 

Best Regards,
Rico Zhou

 

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

 

 

amitchandak
Super User
Super User

@cswshaun , try to change, the inner padding, Minium category width or max are height

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.