Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there a way in Qlikview to create a single Button that can toggle between two variables: On or Off?
Create the button then add two actions. Stock it will be able to toggle them both at the same time. Otherwise you could write if statements to look at the other variables value to determine if it will toggle or not.
You can create a button that toggles a variable between two values. For example a variable vMyVariable that changes between 0 and -1 (i.e. False and True). Add a Set Variable action to the button, choose vMyVariable as variable and as value: =not vMyVariable. This kind often used to show and hide objects.
If you want to do this with more variables just add more Set Variables actions for each of the variables.
Hi,
Using the butoon u can show up the variable 1 orvariable 2 gets activated
when one variable is Showing up other variable will be hidden...
For that first creat a button and take 2 input boxes with variable1 and variable 2
create a variable vshsow=1
on the button if(vshow=1,variable1,variable2)
and Add an action set variable as vshow , and value= '=if(vshsow=1,0,1)'
then use the vshow=1,or 0 for variable1 and variable on the layout condition.
Thanks