Forum Discussion

Tlotly's avatar
Tlotly
Helper V
4 years ago
Solved

Sorting the matrix by multiple values

Good day

 

Is it possible to sort the matrix by 3 values at the same time like in Excel i.e. im my example I want Centres with all the highest % at the top. I must also mention that all the 3 values are from different tables all linked to Centre details.

Thank you
Matlotlo

6 Replies

  • Tlotly , Matrix can only be sorted on one column , You can sort table on multiple column using shift

      • serpiva64's avatar
        serpiva64
        Solution Sage

        Sorry, looking to your data you' ll never have Centres with all the highest % at the top because the centre with the maximun value in one column is not the centre which has the maximum value in another column. You need three different matrix in order to have the maximum of each centre

  • Step 1: In your Matrix, add a field to the row hierarchy (which you will later remove).

    Step 2: Change the Matrix to a Table visual.

    Step 3: Sort all the columns you wish to sort, and in the order you wish them to be sorted.

    Step 4: Delete the field you previously added in Step 1 from the table.

    Step 5: Change the Table back to a Matrix visual.

    Step 6: Ensure the right fields are back in the Row hierarchy.

     

    This will maintain your multiple sorted fields within your matrix, even when you expand your row hierarchies.