Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

multi-column matrix sorting

hi,

 

i have matrix visualization with multiple columns which are both measures & dimensions as follows:

 

. yearmonth (dimension)

. organization name (dimension)

. total income (measure)

 

i'd appreciate any help on how to do multi-column sorting in matrix, if it's possible.

 

tks & krgds, -nik

I want to do a multiple column sort (like in Excel) first on Budget then on Project_duration in Power BI.

  • For Year and Organization, you have a combine column and sort, But that might not look good in the matrix

    New column

    Year Org = [Year] & " " & [Organization]

     

    But ideally, they should in some sort order by default

5 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      thanks for your quick response, amitchandak.

       

      yes, i have got it working for tables visual. however, i need it to be done for matrix visual which don't seem to be able to have multi-column sorting. 

       

      i'm considering dax too if it's possible in matrix visual.

      krgds, -nik-

      • amitchandak's avatar
        amitchandak
        Super User

        For Year and Organization, you have a combine column and sort, But that might not look good in the matrix

        New column

        Year Org = [Year] & " " & [Organization]

         

        But ideally, they should in some sort order by default