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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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