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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
hkg_qlik
Creator III
Creator III

List Box Sort

I have a LIST BOX holding the Impact Values: High, Medium and Low.

I want them to sort in the following order in the list box :

High

Medium

Low

Expression in the list box:

=Count( {$<Impact= {'High','Medium','Low'} >} Distinct [Incident Number] )

Regards,

H

5 Replies
chematos
Specialist II
Specialist II

try this in the properties:

=match([Impact Values],'High','Medium ','Low')

Order ascending

hope this helps

Not applicable

Another way is to create flag in the script: High =1, Medium - 2, Low - 3. Then in the Properties, sort ascending by this flag.

Hope it helps.

hkg_qlik
Creator III
Creator III
Author

=match([Impact Values],'High','Medium ','Low')

Order ascending

I tried it but its not working in this scenario.

H

hkg_qlik
Creator III
Creator III
Author

Hi Max,

Are you suggesting to create an inline load for the flag in the backend script.

Thanks,

H

chematos
Specialist II
Specialist II

your field is Impact, not [Impact Values]

=match(Impact,'High','Medium ','Low')