Skip to main content

Power BI

Needs Votes

Matrix - Sort columns by value

Vote (501) Share
's profile image

on 11 May 2016 22:35:30

Matrix currently doesn't allow you to sort the columns based on designating values as being a priority above the column field names.
For example, my field in the columns section results in three columns. If you add two sets of values, you are forced to see: Column 1, Value 1, Value 2, Column 2, Value 1, Value 2, etc. Like in a Pivot Table, you should be able to prioritize values so that it shows as: Column 1, Column 2, Column 3, Value 1, Column 1, Column 2, Column 3, Value 2.

Comments (54)
's profile image Profile Picture

e59dd52f 971a-4cc8-a9c8-4cdc77a94c7e on 16 Aug 2020 04:20:35

RE: Matrix - Sort columns by value

I am looking for this feature on Matrix visual to sort the values based on the columns.
Example if any table column values are having Top 50 and Last 50, when these are kept on the Matrix visual columns, Top 50 and Last 50 columns are created those we can't sort with those fields in Matrix visual.

's profile image Profile Picture

dd798bbf 0519-4c58-92c0-a75d2d54927d on 16 Aug 2020 04:20:25

RE: Matrix - Sort columns by value

This is a highly needed ability, i'm amazed it doesn't exist in this visualization.

's profile image Profile Picture

84e54458 a672-46ab-b164-494620f6b8d5 on 16 Aug 2020 04:19:41

RE: Matrix - Sort columns by value

Beef up the Matrix hierarchical sorting functionality as per:
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/11185431-add-a-multiple-columns-sort-featue

's profile image Profile Picture

4b7a4dbd 0898-4f24-9076-633433b37a39 on 16 Aug 2020 04:19:37

RE: Matrix - Sort columns by value

Any update on this feature? Hope you will add it soon :)

's profile image Profile Picture

18919ea5 c036-4350-ad36-3f70273cf664 on 16 Aug 2020 04:19:21

RE: Matrix - Sort columns by value

Much needed!

's profile image Profile Picture

522d194e a07a-4356-b487-d43178e6ddfc on 16 Aug 2020 04:19:16

RE: Matrix - Sort columns by value

Please add this function

's profile image Profile Picture

aa0823e1 3d79-459d-a7d4-5c136f4e6396 on 16 Aug 2020 04:18:47

RE: Matrix - Sort columns by value

Some solution out there suggested Unpivoting the columns, so one column showing the list of parameters, another column showing the corresponding values, and one showing column partitions. That could be a workaround to show Measure1: column1, column2 ; Measure2: column1, column2 , etc.

But this wouldn't work if my rows have more than 2 layers of drilldown. Coming from a financial world, I have Regions as my level 1 grouping, and next level would be portfolio. Using the aforementioned unpivoting solution, the aggregation will always be a sum. But than my measures are market value, coupon, etc. For my Region to show a sum of market value is okay, but it doesn't make sense to sum my coupons up to 200% for my region. So that's why I must stay away from the unpivoting suggestion and add measures to my value, but then I am not able fix the column partition to make it appear below my "values" headers

's profile image Profile Picture

24763680 acbf-4504-9fe6-21b449d663ad on 16 Aug 2020 04:18:29

RE: Matrix - Sort columns by value

How can this NOT be possible yet?? So basic..

's profile image Profile Picture

cc2e7802 bbf2-4be6-88d5-e30a986a7508 on 16 Aug 2020 04:18:12

RE: Matrix - Sort columns by value

Please! It's a basic functionality!

's profile image Profile Picture

ccdf2c77 5343-44d9-9bc8-8aed7b5144f0 on 16 Aug 2020 04:17:40

RE: Matrix - Sort columns by value

Need this