Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
First of Field Parameters are great....but there is a really anoying downside when switching between fields.
The sorting breaking.....
I see alredy complaints about that from a year ago, but has it been solved by now? Or are there good solution?
I have a graph that has country on the x-axis and on the y-axis I have a field parameter.
2 option, #deliveries and Quantity.
Works perfect but I want my graph to sort always with the highest number of deliveries (#deliveries) or highest quantity.
But every time you switch the sorting breaks and it will be sorted by Country on the x-axis.
This makes no sense as you want the highest numbers to show first and not country alphabetical.
Solved! Go to Solution.
Oh my I had an epiphany 😆
I manged to create a sort measure:
As you see the heading for this field stays the same and this way the sorting gets not broken.
But the SortValue field takes the value of the field parameter.
Did this with an IF statement on the prm sort order :
This solution really helped us! Thanks!
Oh my I had an epiphany 😆
I manged to create a sort measure:
As you see the heading for this field stays the same and this way the sorting gets not broken.
But the SortValue field takes the value of the field parameter.
Did this with an IF statement on the prm sort order :
@rpinxt Great idea to solve this issue. There is another way I saw in a youtube video by Christine Payton where she uses bookmarks to get the right sorting order. I found this very creative, but your solution is more fitting for my use case.
Thank you!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
45 | |
43 |