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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

sorting issue

Hi friends

I have below pivot table in my Qv Doc.

clipboard_image_1.png

Here my dimension is a calculated with following  syntax,

=If(Aggr(Rank(Sum({<VEHICLE_TYPE={'CAR/JEEP'}>}POLNos)), [MAKE])<=8, [MAKE], 'Others')

I want to sort this in such a way  Rows representing others should come immediately above total rows . Kindly help me with sorting expression

4 Replies
upaliwije
Creator II
Creator II
Author

Hi Friends,

Can Someone help me pls.

StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

try with this expr

 

If(Rank(Sum({<VEHICLE_TYPE={'CAR/JEEP'}>}POLNos))<=8, Rank(Sum({<VEHICLE_TYPE={'CAR/JEEP'}>}POLNos)), 9)

upaliwije
Creator II
Creator II
Author

Thanks

But It does not work please

 

Brett_Bleess
Former Employee
Former Employee

Likely going to need to attach a QVW file on this one, so folks can see underlying data model as well...

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.