Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Sort Top 10 & Others table

Hello everyone,

 

I have created a table where I have the Top 10 customers by AR amount and all the rest customers' amounts are aggregated in Others.

I want to sort by AR amount descending and have always the Others at the bottom of the table.

 

Now when I sort by AR amount I get:

 

Customer                 AR

  Others             12,223,445

  Customer

       Amazon        3,415,788

       Costco          1,265,678

       Staples            674,789

       Walmart          354,897

            ...                      ...

            ...                      ...

       Total                     ...

   Total                         ...

 

 

What I want to have is like below:

 

Customer                 AR

  Customer

       Amazon        3,415,788

       Costco          1,265,678

       Staples            674,789

       Walmart          354,897

            ...                      ...

            ...                      ...

       Total                     ...

  Others             12,223,445

   Total                         ...

 

Could you please advise me on how I can make this type of sorting?

I would like to mention that the AR amount is a measure. that calculates the AR for Top 10, others and total.

For the Customers there is a table like that:

 Amazon        Customer

 Costco          Customer

 Staples          Customer

 Walmart        Customer

     ...               Customer

Others              Others

 

Thank you all.

 

Regards.

3 Replies