Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello community,
I have created a Boxplot chart showing salary distribution per category. The categories are retrieved from a table that was created by DAX. As you can see in the photo, the categories order is random and I want to sort the categories so I have L3, L5, L6.
How can I do that?
Thanks in advance 🙂
Solved! Go to Solution.
@Anonymous , Create a sort column mark that as sort column and sort visual on axis
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Thank you for your feedback @amitchandak
what I did to resolve this problem , is that i Created the ID column in the DAX code that I used to generate my table. By so doing, I have no dependency between category and ID_cat so. COnsequently, when I used sort column by ID_Cat it worked successfully.
Conclusion: try to avoid circular dependency
Thank you for your feedback @amitchandak
what I did to resolve this problem , is that i Created the ID column in the DAX code that I used to generate my table. By so doing, I have no dependency between category and ID_cat so. COnsequently, when I used sort column by ID_Cat it worked successfully.
Conclusion: try to avoid circular dependency
@Anonymous , Create a sort column mark that as sort column and sort visual on axis
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |