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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Show top bar graph categories with scroll bar

Hello!

 

I have the below bar graph:

jtrendl_0-1660567888554.png

Would it be possible to show only the top 5 bars on the visual with the possibility of scrolling down to all the other categories?

I know about the topN filter, but I don't want to filter out any of the bars. I just want to show the most important ones at first glance, but give the possibility of scrolling down and see the less important/frequent categories.

I don't want to simply shrink the visual, the point would be to make all the bars bigger with a scroll bar. I couldn't find the option to change the width of the bars in the format options.

Is that doable somehow in power BI? 

Thanks a lot!

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could set the bar width in here.

AilsaTao_10-1660788926771.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Here is an updated solution:

  1. Open Your Bar Chart Visualization:

    • First, create or open your bar chart visualization in Power BI.
  2. Access X-Axis Settings:

    • Click on your bar chart visual to select it.
    • Go to the Format tab in the Visualizations pane.
  3. Adjust Category Width:

    • Within the X-axis settings, look for options related to Minimum Category Width and Inner Padding.
    • These settings allow you to tweak the size of the bars:
      • Minimum Category Width: Determines the minimum width of each category (bar).
      • Inner Padding: Controls the spacing between adjacent bars
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could set the bar width in here.

AilsaTao_10-1660788926771.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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