Forum Discussion

Sunanda85's avatar
Sunanda85
Frequent Visitor
7 years ago
Solved

Sorting text values

Hi all,   I am having issues sorting the age group and tenure band values in ascending/descending values in a visualisation.   Is there way to do this. Some help with an example would be highly a...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi Sunanda85 ,

     

    You can try to create a mapping table manually, for example, in your fact table, the value of your age column:

    1-10

    10-20

    20 +

    then you need to create a table with 2 columns

    age            index

    20 +             1

    10-20           2

    1-10            3

    merge it to your fact table to get index column

    after apply, you can find a button named "Sort by Column" in Modeling tab(on the top)

    select your age column firstly, then select the button, choose the index column.

    I think that's what you want.

    Please try.

    Aiolos Zhao