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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set variable when user clicks on a button

How can I set a variable to 0 when the user clicks on a button? I can't find the correct Action in the button. Anyone can help?

Thanks!

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

2 Replies
Frank_Hartmann
Master II
Master II

create 1 Variable:

1. vShow

Setup conditional view in all of your charts:

1.go to Properties --> Layout --> Show: conditional ---> vShow=1

Create 2 Buttons:

1. Hide Button: --> Actions ---> Add--> set Variable--> vShow --> Value = 0

2. Show Button: --> Actions ---> Add--> set Variable--> vShow --> Value = 1

hope that helps

sunny_talwar
MVP
MVP

You need this:

Capture.PNG