Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Need help to sort a Matrix based on KPI column. I have a sort column in my table where I have assigned sorting order. I sorted KPI based on sort ID in table and it is working however in the view it is not.
In Matrix view it is sorting either by KPI or by $ amount.
Is there a way to sort Matrix view based on Sort ID without bringing this into the view?
Below is my table.
| KPI | Prod Serv | Sort ID |
| CC | Product | 3 |
| UC Excl XYZ | Product | 1 |
| UC Inclu XUZ | Product | 2 |
| NW | Product | 4 |
| Profesionla Services | Services | 5 |
| Learning Services | Services | 12 |
| Support Services 11 | Services | 6 |
| Support Services 22 | Services | 7 |
| Support Services 33 | Services | 8 |
| PCMS - AAA | Services | 9 |
| PCMS - BBB | Services | 10 |
| PCMS - CCC | Services | 11 |
How exactly is the SORT ID column created?
Proud to be a Super User! | |
You can use the Sort by column feature that is found in the table view under column tools.
highlight your KPI column and then sort by column SORT ID
Proud to be a Super User! | |
@jgeddes I did that exactly but it is not working. Getting below error.
However the Column Sort is no way linked/referenced to KPI column. Both are coming from source file.
What result are you getting? By that I mean what is it sorting by currently?
Proud to be a Super User! | |
it is sorting by KPI but in ascending order. Not consedering the SORT ID order
Can you share a screenshot of your table relationships? No data needed, just tables and column names. It would help to narrow down where the circular dependancy is coming from.
Proud to be a Super User! | |
This table is linked to Geography and Date. there are around 7 more table which are linked to Geography and sate tables.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 69 | |
| 56 | |
| 45 | |
| 42 | |
| 30 |