Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I would like a button to set a variable.
See attached example that I can not get to work.
Please help.
Try using this as expression to set the value:
=if(Variable1=1,2,1)
and this as Text for your button in general tab:
=if(Variable1=1,'Off','On')
See attached.
Seems all ok to me, you just need to define the value you want to assign in the action property dialog.
When I switch the button on, I would like it to display 1 in the text box and when I switch it off to display 2
Thanks
Try using this as expression to set the value:
=if(Variable1=1,2,1)
and this as Text for your button in general tab:
=if(Variable1=1,'Off','On')
Hi,
have a look at:
http://www.qlikblog.at/1851/onoffswitch-qlikview-extension/
Maybe this helps!
Regards
Stefan