Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

getcurrentselectoin with variable

Hi guys,

I have a filter1 with variables:

filter1 expression:
IF( $(vVariable1) = 1, Column1, 

 IF( $(vVariable1) = 2, Column2,

  IF( $(vVariable1) = 3, Column3, 

     IF( $(vVariable1) = 4, Column4))))

I need to verify if there is a selection in this filter. How can I do this, when I select one value  in  filter1, I cant know if which column was selected because I'm selecting in filter1 .


I have a chart that shows values only if one selection is made in filter1.

Labels (4)
2 Replies
Creator III
Creator III


I think the expression GetSelectedCount() would be useful for you..
Something like:

IF( $(vVariable1) = 1, if(GetSelectedCount(Column1)>0, Column1) ,


Contributor III
Contributor III

First of all, thank you for your answer...

Its not working, because when I select the filter, I'm selection the filter and not the Column1, so the getselectedcount is null for Column1