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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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