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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dinamic List box

Hi,

Is there anyway to hide a List box and make it appear if a selection is made on other List Box?

Thxs,

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Sure.
Say, you have two list boxes - fields A and B.  And you want to show A only if at least something is selected in B.  To achieve this, go to the properties in the list box A,go tab "Layout", find "Show" radio-buttons, and click "Conditional"  In the condition field, paste this:
=getselectedcount(B)>0
Click OK.
Now, you will see list box A only if you make selection in B.

Regards,
Michael

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Sure, just make this list box to show conditionally, and the condtion is the count of selections in another list box is >0

Not applicable
Author

may you please give me more details on doing that.

thanks,

Anonymous
Not applicable
Author

Sure.
Say, you have two list boxes - fields A and B.  And you want to show A only if at least something is selected in B.  To achieve this, go to the properties in the list box A,go tab "Layout", find "Show" radio-buttons, and click "Conditional"  In the condition field, paste this:
=getselectedcount(B)>0
Click OK.
Now, you will see list box A only if you make selection in B.

Regards,
Michael

Not applicable
Author

Thank you so much!

Not applicable
Author

Hey Michael

I am trying to do the same thing and I followed your solution, but it doesnt seem to work for me :S

Any thoughts?

Thanks

Anonymous
Not applicable
Author

The only thought is that you've missed or mistyped something.  The solution is rather simple and reliable.