Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
In order to apply custom sort on rows and columns in Power BI Matrix, I'm using fields from separate sort tables in the matrix visuals. However, I'm unable to apply any filter on that matrix using field from the base table.
Is there any workaround for this, if not a functionality?
@amitchandak @AlexisOlson
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
Matrix visual object:
Custom rules:
Columns in the order of A-C-B-D
Lines are in the order of January – February – March – April
Here are the steps you can follow:
1. Enter the power query, select Add Column – Column From Examples – From All Columns.
First create [Column]
Then create [Row]:
Get the data:
2. Select [group], click Column tools – Sort by – [Column]
3. Select [Month], click Column tools – Sort by – [Row]
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Matrix visual object:
Custom rules:
Columns in the order of A-C-B-D
Lines are in the order of January – February – March – April
Here are the steps you can follow:
1. Enter the power query, select Add Column – Column From Examples – From All Columns.
First create [Column]
Then create [Row]:
Get the data:
2. Select [group], click Column tools – Sort by – [Column]
3. Select [Month], click Column tools – Sort by – [Row]
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Anonymous , Matrix sort as of now can be done on the basis Ascending order of the column or the sort column. Not on measure as of now.
Their new feature was added to sort legend in Nov 2021- But I doubt that can help in matrix , https://powerbi.microsoft.com/en-us/blog/power-bi-november-2021-feature-summary/
Desc sort on the column of the matrix, I discussed here
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
69 | |
66 | |
51 | |
32 |
User | Count |
---|---|
116 | |
99 | |
75 | |
65 | |
40 |