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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jrich_1995
Frequent Visitor

Sorting Bar Chart Axis When using Two Field Parameters

I have a bar chart that is using a Field Parameter on both the Y and X Axis. I would like to always sort the bar chart on the x axis, no matter what is selected on the Y axis field parameter. But everytime I make a new selection on the Y axis field parameter, it defaults to sorting based on the Y axis. 

 

In the Example below, I want to always sort the Axis to be Americas, EMEA, APAC, Other Global, EOC. When select an X axis parameter, I can get the graph to do this no matter whant I select on the Y axis, but when i select a new level or the hierarchy, say business group, it defaults back to sorting based on the Y axis value. How do I make the graph always sort on the X Axis Selection?

jrich_1995_0-1689368539243.png

 

Any help is appreciated

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @jrich_1995 
I don't think that there is a way to lock the sorted axis, in case you use field parameters for everything.
You can suggest this as the idea here :
https://ideas.fabric.microsoft.com/ideas/search-ideas/?q=lock%20sorted%20axis%20when%20using%20field...
(I saw some talking about similar problems, so maybe you just have to vote for one of them).
As an alternative if the issue is critical you can use bookmarks that show and hide visuals.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @jrich_1995 
I don't think that there is a way to lock the sorted axis, in case you use field parameters for everything.
You can suggest this as the idea here :
https://ideas.fabric.microsoft.com/ideas/search-ideas/?q=lock%20sorted%20axis%20when%20using%20field...
(I saw some talking about similar problems, so maybe you just have to vote for one of them).
As an alternative if the issue is critical you can use bookmarks that show and hide visuals.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.