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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
admin_xlsior
Post Prodigy
Post Prodigy

Best visual for bar chart with long category name

Hi,

Just want to get some input. for a bar chart, when we have long name for the Axis, such as this :

admin_xlsior_0-1620790812282.png

The name is truncated.

When space is matter, means if possible not too large/wide of that visual, but still we can see the description nicely. What would be the best bar chart, which perhaps I must add more custom visual. Or how usually we can handle this to get more clear info ?

 

Thanks,

 

4 REPLIES 4
AllisonKennedy
Super User
Super User

@admin_xlsior  I like to use the Table visual and add 'data bars' as conditional formatting on the values. It lets you resize the labels to be as long as you want, and allows for text wrapping too. 🙂 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

amitchandak
Super User
Super User

@admin_xlsior , I recently use Charticulator, There we can change the space and even move these labels to a position we want.

 

See if these can help Charticulator Part 1 - Bar and Bar Matrix: https://youtu.be/tKgG0arMaOw

Hi both,

 

Thank you for all the input. I will try my self. 

I've just come to a quite good visual, which is the horizontal bar chart, whereby the name is inside the bar (or can change to below the bar horizontally, if change shape)

 

However there is one flaw here, is that when the items only few (two or three) it will automatically scale up.

This is when I didn't filter anything, there are many other items below it but zero :

admin_xlsior_0-1620794662528.png

And after filter to exclude the zero which cause my data to only have those 3, then it will be like this :

admin_xlsior_1-1620794751818.png

Quite unnecesarry, I wish I can turn that auto scale off 😂

 

Thanks again

 

 

 

Hi @admin_xlsior,

Current power bi not able to accurately control the autoscale feature, perhaps you can submit an idea for this requirement.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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