Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
robmarr789
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
dilipranjith
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)