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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic Listboxes

Hi all,

How can I dynamically update the Country listbox to show only the countries related to the Region? So for example, when I select 'South East Asia' in Region, I only want it to to show 'India, Indonesia, Malaysia, Phillipines, Singapre, Thailand and Vietnam. Likewise, if I select 'Pacific' in Region, it will only show New Zealand and Australia.

RegionCountry.JPG.jpg

RegionCountry1.JPG.jpg

4 Replies
Anonymous
Not applicable
Author

Under properties in the general tab click on 'Hide Excluded'

sasikanth
Master
Master

hi

Please find the Attached File

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You can use an expression like this in your listbox:

=Aggr(Only(Country), Country)

Or

=Aggr(Only({<Country=>} Country), Country) (which should not collapse to a single country if you select one)

HTH

Jonathan

Edit: fixed second expression (missing <, >)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Many thanks, worked!