Join 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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I am trying to use a matrix to display products in the first column (row labels) and cities as column headers across the top. Revenue will be in the table. I would like to sort the row totals descending (largest revenue product on the top and smallest revenue product on the botom). I would like to also sort the city column totals in the bottom row descending (largest city on the left and smallest city by revenue to the right). I can do this in a pivot table in excel, but can not figure out how to sort both columns and rows descending based on the totals in Power BI.
I have tried other ideas in other forum posts, but nothing seems to allow for multiple sorting in a matrix. I also need the order to be dynamic as different filters will change the order of the rows and columns
Please advise with any solutions/ideas on how to sort by row and column in the matrix or if another visualization will provide this result.
@Anonymous , Multiple sorting is not allowed in matrix yet. You can sort row or values or values grand total(In case of column /pivot) .
In case column(pivot) need sort desc. You need to have sort column that will make it sort desc.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.