Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

show and hide column (expression) based on listbox selection

On the attached you will see that when a list box selection is selected it will add it to the table. 

 

However when all selections are removed all columns still appear. 

 

How can I alter the condition code so that each column can be added and removed independently of one an other and if one is not selected it will not appear regardless of no other selections being made.

 

 

Labels (2)
1 Reply
Highlighted
Partner
Partner

Hope i understood your problem correctly.
If what you want is, when nothing is selected no columns should appear.
change to something like below
if(GetSelectedCount(Selection)>0,
substringcount(concat(Selection),'Quantity')
,0)