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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
oxiofrt
Partner - Creator
Partner - Creator

Sorting a table with an expression

Hi,
I just don't understand how to proceed for a very simple sort in ina pivot table.
A qvw is joined for explanation.
Thanks a lot for your help.

2 Replies
Anonymous
Not applicable

Pivot table sorts by order of the dimensions. The closest to your requirement that I could get was adding calcualted dimension on the second place, right Commune, and sortin it by numeric descending:
aggr(count(distinct if(FL_SLL_VALIDE_ENGIN=1,CLE_DEPART_ENGIN)),LIB_CENTRE_APPEL1_COMMUNE,LIB_CENTRE)
You can hide it the same way as you did with another calculated dimension.
Note, that partial sums in this case should be done by this new dimension.

Anonymous
Not applicable

forgot the file...