Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort total Coulmn

Hello all,

     How to sort total column in pivot table ,as shown in image ,i need to sort the

Total column in descending order (Like 1411, 643, 381)?????

comm7.PNG.png

12 Replies
whiteline
Master II
Master II

Hi.

Go to the sorting tab, select CallSource dimension. Toggle override group sorting order. Then type the expression you want to be used for sorting.

SunilChauhan
Champion II
Champion II

chart properties-> sort ->select dimension Callsource(or groupname)-> expression ->[Total]

see the attched example

Sunil Chauhan
Not applicable
Author

thanks sunil,,,
but wherez attached sample ??

whiteline
Master II
Master II

Open a full theme view, the attachments are hidden when you look through inbox.

stigchel
Partner - Master
Partner - Master

Sorry, but you cannot reference the expression in the sort expression (try changing the sort order and you will see it does not change). Instead copy the complete calculation in the sort expression.

SunilChauhan
Champion II
Champion II

i am attaching again

Sunil Chauhan
SunilChauhan
Champion II
Champion II

We can use Expression name over that object .it will work. you may try this

Sunil Chauhan
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

In the example below the expression used is count(Sales). The table is sorted by Product using the expression aggr(count(Sales),Product in descending order.

comm124230.png


talk is cheap, supply exceeds demand
stigchel
Partner - Master
Partner - Master

Have you tried changing the sort order from ascending to descending in your example?