Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
21 | |
14 | |
14 | |
13 | |
13 |