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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Alignment issue on AXIS for Clustered Bar Chart

Hello All,

I am showing Top 5 / Corporate / Bottom 5 of my sales data. Assume that it's a store sales data. Now when I select different visuals my top 5 / Bottom 5 also changes. With these changes, the Store name which is on Axis is not aligned properly. Below are screenshots from my PBIX. I would like to see if there are any options for fixing the width of the name in Axis.
In total there are three visuals for Clustered Bar chart 1) top 5 2) Corporate Avg 3) Bottom 5

 

 
 

Default state

Default state.PNGOn Selection of different slicers on the page:
Selection 1.PNG

 

selection 2.PNG

 

 

 

 

4 REPLIES 4
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Unfortunately, it is unsupported to fix the width of the name in Axis for a bar chart in Power BI currently. I'd like to suggest you vote on the similar idea and add your comments there to improve Power BI for making this feature coming sooner.

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous ,While you can not combine visual

 

You can to measure and use in same visual

 

example

City Rank = RANKX(all(Geography[City]),[Sales],,desc,dense)

Top 5  = sumx(filter(VALUES(Geography[City]),[City Rank]<=5),[Sales] )

 

City Rank 1 = RANKX(all(Geography[City]),[Sales],,asc,dense)

Bottom 5  = sumx(filter(VALUES(Geography[City]),[City Rank 1]<=5),[Sales] )

 

or use them togther in a measure

 

Top Bottom 5  = sumx(filter(VALUES(Geography[City]),[City Rank]<=5 || [City Rank 1]<=5),[Sales] )

 

Anonymous
Not applicable

Hi @amitchandak

 

Thanks for your help. I would like to have corporate average in between top 5 and bottom 5 in one measure only. How can I get that?

pranit828
Community Champion
Community Champion

Hi @Anonymous 

 

 Sorry I don't think there is an option to do that on clusterd bar chart.

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Regards,
Pranit

 

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors