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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
facastro
New Member

align x-axis labels with bars and legend display

Hi,

1. How can I make the x-axis labels align with the bars?

2. How can i make the legend of the x-axis be the Status values and not a number? (I am using number to sort Status and display them accordingly.. if not, the DONE would go before In Progress, for example)

 

facastro_0-1690405326005.png

 

3 REPLIES 3
TomMartens
Super User
Super User

Hey @facastro ,

 

you can't. The reason for this is simple, unfortunately not that obvious.
You are using the clustered column chart, this type of data visual places each cluster segment "status" at the same position inside a cluster "order". Due to data distribution your visual renders correctly, even if this is wanted.
You might check the visual "stacked column chart", then of course you will have a stack, segments on top of each other, instead next to each other, instead of cluster when there are multiple "status" for the same order.

You might give the custom visual Deneb a try: https://deneb-viz.github.io/
Here you can create an order of segments inside a cluster, if there is only one segment inside a cluster, this might provide what you are looking for.

Regards,
Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

@TomMartens 

Thanks! your reply helped me get to what I needed.

I changed the chart type and all good. x-axis labels are now alligned with the bars.

 

I still don't know how to change the status number display as text data.... but that is not a big an issue as the alignment.

Hey @facastro ,

 

I'm not sure if I understand your requirement regarding the sorting of the legend correctly but maybe this article is what you are looking for: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors