Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

create a trigger to set a variable to 0.

hi,

Can someone help me out with the following issue please......

I have a button created and a slider.I have a variable created V_abc.I need to create a trigger to set this variable to 0 when ever it is called and then put this trigger in the button.Basically when ever the button is clicked the slider should reset to 0.Can u help me how to do this???????

1 Solution

Accepted Solutions
tresesco
MVP
MVP

See attached sample

View solution in original post

4 Replies
Not applicable
Author

go to button properties -> trigger -> external (last possibility you have in the triggers) -> set variable.

I hope this helps.

regards,

MT

MK_QSL
MVP
MVP

Go to Button Properties

Action tab

Add >> External >> Set Variable

Variable

VariableName

Value

=if(VariableName=0,0,1)

tresesco
MVP
MVP

See attached sample

Not applicable
Author

thanks a lot everyone