Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a multi-row matrix and want to sort in 3 specific ways but do not know if power bi can acheive this.
CATEGORY A 40 (total)
APRIL 30
MAY 1
JUNE 9
CATEGORY B 30
APRIL 10
MAY 19
JUNE 1
I would like to sort the categories in alphabetical order, the total orders in descinding order, but keep the months in the correct order. Whenever i sort by the first two, the months are not sorted correctly (even though i have a sort by column setup for this column.)
Thank you!
Solved! Go to Solution.
Hi @thampton ,
You may convert the Matrix visual to Table visual first of all, then click on the Header Column [Category] to adjust it ASC order (note : you may press Left Click in the meantime to adjust order to opposite order), press Shift + Left Click on the column [Month] to adjust it ASC order, then press Shift + Left Click on the column [Order sales] to adjust it DESC order. After that, you may convert the Table visual to Matrix visual.
For reference:
How To Sort A Table Using Multiple Columns In Power BI
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @thampton ,
You may convert the Matrix visual to Table visual first of all, then click on the Header Column [Category] to adjust it ASC order (note : you may press Left Click in the meantime to adjust order to opposite order), press Shift + Left Click on the column [Month] to adjust it ASC order, then press Shift + Left Click on the column [Order sales] to adjust it DESC order. After that, you may convert the Table visual to Matrix visual.
For reference:
How To Sort A Table Using Multiple Columns In Power BI
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@thampton , make sure month has sort column for the correct order
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
@amitchandak I have the sort by column set up already. I think the sorting gets messed up when i sort the orders column in descinding order. It also sorts the months by the order total as well.
| User | Count |
|---|---|
| 44 | |
| 35 | |
| 30 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 65 | |
| 57 | |
| 40 | |
| 21 | |
| 20 |