Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

How To Sort Columns based on other columns with duplicate values

I have 3 columns:

  1. destination town
  2. destination branch
  3. destination town index

The index columns are whole numbers that represent the actual geographical location of each town. I have pivot table matrix with origin town and destination town, and by default, the pivot sorts the towns by alphabetical order.

I would like to sort the towns by index but can't figure out how to as there are duplicates in town & index columns as per screenshot below. 

How do I overcome this?

 

 

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      ibarrau  I tried to sort Destination Town by Destination Town Index but got the following error

       

      • ibarrau's avatar
        ibarrau
        Super User

        Check the data. This will only work if you have a town destination for each town id. Your Town 3 has two values (2 and 3). If you correct this kind of things it will let you do it.

         

        Regards,