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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
EvaSkoldqvist
Frequent Visitor

Horizontal Y axis alignment for bar chart with hierarchical data

I want to show horizontal bars for hierarchical data. The Y axis texts needs to be horizontally aligned to be legible.

 

EvaSkoldqvist_1-1687178945815.png

 

Please note that the simplified data in this example does not have long strings but my actual data does. Power BI insists on having the first level vertically aligned making it impossible to read the longer texts.

 

I feel like vertical vs. horizontal alignment should be a basic setting that the user should be able to change. If it is not then does someone know if there is a custom visual available that can show a simple hierarchy and some numbers? I have tried to find something but the 2-3 available vizuals are not fulfilling this simple need. 😔

2 REPLIES 2
Syk
Super User
Super User

You can concatenate the axis labels. In your example, it would look like
Category A Item a

Category A Item b

and so on...

Syk_0-1687179855444.png

 

Sorry. I forgot to mention that concatenating axix labels won't work.

Each row on the axis will be repeated which makes it look very messy. Since the strings are a bit longer you would also only see the beginning of each level 1 label, no level two level will be visible unless I make the graph ridiqulously wide.

I am hoping for another solution. 🙂

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.