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! Learn more

Reply
Saniat
Helper V
Helper V

How to Avoid auto-sorting in a clustered bar chart

Hi,

Whenever I bring in a Clustered bar chart, PBI puts a default sorting on the visual by the measure I have used.

Is there any way to avoid that ?

I got a hint that it could be possible using the capabilities.json file, but where do I get this file ?

Many thanks for your help !

3 REPLIES 3
Saniat
Helper V
Helper V

Alright, after some research, I found the solution to this problem.

At the data level, if your column has a sorting applied which depends on another column, then in the viz, by default, PBI uses that sort order first. If you want to change this order, you can always apply a different sort order e.g.

Saniat_0-1676973457582.png

 

bhelou
Responsive Resident
Responsive Resident

Yes, it is possible to avoid the default sorting on a clustered bar chart in Power BI.

One way to achieve this is to disable the "Visual Interactions" feature. This will prevent the chart from sorting automatically when the user interacts with other visuals on the report page.

To disable "Visual Interactions," follow these steps:

  1. Click on the clustered bar chart to select it.
  2. Click on the "Format" tab in the Visualizations pane.
  3. Scroll down to the "Visual Interactions" section.
  4. Click the toggle switch to turn off "Visual Interactions."

@bhelou 
Apologies, but I cannot find the Visual Interactions section under Vis pane ? Which version of PBI are you using ?

Saniat_0-1676901960437.png

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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