Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
azucna122
Partner - Creator
Partner - Creator

show or hide the graphs at the press of a button

Hi, I'm new to Qliksense
I have this structure in my qlik.

azucna122_0-1675187095013.png

I would like to show or hide the graphs at the press of a button.
I had thought with a variable, for example declare the variable Vshow with value 10 and in button1 call that variable Vshow with value 10 and in button2 put the variable Vshow with value 01 and duplicate my graphs with the values 10 or 01.
But it is not working, the buttons ignore the data value, like these graphs in qlik sense do not have the show condition option, is there any other way?

1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

the show value must be >=1

the hide value must be = 0 

 

if the variable is 0, then the chart will be hidden

if the variable is >=1 the the chart will be shown

 

so the variable vShow   should either be 0 or 1

the just use   =vShow    as  the condition expression 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

3 Replies
vinieme12
Champion III
Champion III

There is no show / Hide feature in QlikSense , but maybe you can use a container with Tabs 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
azucna122
Partner - Creator
Partner - Creator
Author

hello Vineeth Pujari,
I have seen that there is an extension called 'Show/Hiden Container', but I don't know how to use it.
I have created my variable Vshow with value 10, in the first button I have given the option 'set variable value' with value 10:

azucna122_0-1675238181669.png

In the container I have set Vshow in the two tabs these conditions, but I am not getting the button working.

azucna122_1-1675238484898.png

 

vinieme12
Champion III
Champion III

the show value must be >=1

the hide value must be = 0 

 

if the variable is 0, then the chart will be hidden

if the variable is >=1 the the chart will be shown

 

so the variable vShow   should either be 0 or 1

the just use   =vShow    as  the condition expression 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.