Forum Discussion

newgirl's avatar
newgirl
Post Patron
7 years ago

Sorting Row Header According to Date

Hi!

 

I have in my report a matrix table showing the "Employee Name" as Rows and "Type of Expense" as Columns.

This needs to be sorted in a descending order to know the top employees incurring expenses so I clicked the "Total" column to be sorted accordingly.

 

However, our boss asked us if it's possible as well to sort the months starting January. Is this possible? If I have to assign numerical values with the months (Ex. 1 as January, 2 as February and so on...), how will this work?

 

Hope you can help me!

 

 

Thank you

DK

 

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Yes, you were right.
    Add a column with a numeric index to you months (so jan is 1, feb is 2 etc). Then in Table view click on your column, go to Modeling and click on "Sort on column" (not sure how it's in English, somewhat similar to this). Then choose the column with numbers.

    • newgirl's avatar
      newgirl
      Post Patron

      Hi! 

      I tried to do your steps. I added a new column and used =MONTH to get the numerical value for the date. I tried to insert this new column in the Rows but now the numbers are all being repeated.

       

      Also, if I click the matrix and try to click the "Sort by Column", it's greyed out.

       

      Do you other ideas?

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        No, you don't have to do it in the visual but in the table view.