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
Br1-981
Helper I
Helper I

CLUSTERED BAR CHART based on parametric measurement

Hi,

I've created a clustered basr chart with horizontal bars and labels moved into a fake dimension:

Br1981_0-1706092302543.png

The measurement is based on a parameter (3 different measurements), the problem is that I want bars always ordered as descending based on metric (that could change based on the parameter) and ordering it manually does not take in memory and every time I have to change it manually and it resets to countries when i change parameters.
Any idea?

3 REPLIES 3
Daniel29195
Super User
Super User

@Br1-981 

 

refere also to this : 

https://community.fabric.microsoft.com/t5/Desktop/Sorting-on-Parameter-fields-measures/m-p/2855224

 

 

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍

 

 

Daniel29195
Super User
Super User

@Br1-981 

 

we had the same issue, and unfortunately we didnt find a straightforward solution for this. 

 

 

if the parameter have like 2 measures only, i would suggest to create 

2 buttons which change between the 2 bookmarks . where each bookmark display the required measure . 

 

if the nb of measures in the parameter is big, i dont think there is a solution to dynamically change the order base on the change of the measure. 

 

 

 

found this : 

https://eriksvensen.wordpress.com/2023/08/09/powerbi-control-the-sorting-when-using-a-field-paramete...

 

 

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍
 

 

 

The problem is that I'm using the parameter to pilot the dimensions of the whole page

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.