Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi
I use a sitch function to calculate categories. Now, when presenting the data in a matrix, the categories are nog properly sorting (column "Switch"). I solved this by adding a letter in front of the categories (Switch B").
Is there a better way to solve this?
@jochendecraene and @Greg_Deckler If you found a way around it, please share. I am trying to solve a similar problem.
@jochendecraene Yes, try adding a Sort By column. This generally works best in Power Query. You create the new column with the desired alphanumeric sorting data and then set this column to be the Sort By column of the original column.
I've created a new column, but where/how can I set the sorting based on that new column, since the new column is not a part of my matrix?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 40 | |
| 31 | |
| 27 | |
| 27 |