Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Hussaina1
Contributor II
Contributor II

Unable to highlight variable button on selection in QlikSense

Hi,

I am unable to highlight a button implemented using variable extension in QlikSense after selection. I am using the variable button to hide and show the column in a chart.

 

Eg: Variable(vButton) value:

if(vButton=1,0,1) 

 

Condition in column chart: if(vButton=1,1,0)

 

Thanks.

 

7 Replies
lorenzoconforti
Specialist II
Specialist II

Maybe this?

if($(vButton)=1,0,1) 

Hussaina1
Contributor II
Contributor II
Author

I am unable to click on the variable button using the below condition:

=if($(vButton)=1,0,1)

andoryuu
Creator III
Creator III

Your value should just be the variable and then set an action to toggle the value between 1 and 0.  If you set your value to that expression it is impossible for the button to function.

lorenzoconforti
Specialist II
Specialist II

I see, you are using the variable extension; just use the Variable input from the Dashboard bundle

Hussaina1
Contributor II
Contributor II
Author

Thank you for your response.

 

Please find attached the sample application where in the Variable input from Qlik bundle is used. Please suggest on highlighting the button on selection.

Hussaina1
Contributor II
Contributor II
Author

I am unable to find the action option. Can you please suggest. 

lorenzoconforti
Specialist II
Specialist II

I think it's clear now what you are trying to achieve

Use the "Navigation + Actions" extension 

https://github.com/stefanwalther/sense-navigation

 

Field selection.png