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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to limit values of list box

Hi All,

I have 3 values for REGION column. Let values are A,B,C and corresponding sub-regions for 3 regions.in dashboard

I need to display only region A in list box of REGION and corresponding sub-regions of A in Sub-region filter list box.

how I should write a calculated dimension to display only A in REGION filter(listbox) and corresponding Sub-region of A in Sub-region

filter(list box).

Thanks in advance......

15 Replies
Not applicable
Author

I know this is why you use set analysis with Region = 'A' but you display the subregion just try out the formular.

only({<Region = {'A'}>}SubRegion)

reagards

Not applicable
Author

its not working....

even I select ' A',I am not getting any values

Not applicable
Author

I have written this formula

=aggr(only( {<SUB_REGION_NM=P({<Region={'A'}>} SUB_REGION_NM)>}SUB_REGION_NM),SUB_REGION_NM)

but I am getting all subregions of all regions.

Not applicable
Author

how are subregion and region linked and are they linked in you datamodel?

Not applicable
Author

region and sub-region are from same table


Not applicable
Author

Enable the below option in List box properties.Test.png

This might help u .

Thanks!

D J