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

How to show/hide objects based on which tab on a container object is selected?

Hi all. So I have a number of charts inside a container object. Depending on which tab is selected (i.e., which chart is displayed) I want to show/hide some other context-specific objects, such as buttons or filters. Is there a way to do this? Thanks!

2 Replies
udit_kumar_sana
Creator II
Creator II

Hi,

You can do this by following below steps:

1.)create a variable like vShow.

2.)In the chart layout ,show conditional expression you can write

=

if(vshow='CT08',1,0)

were CT08 is its object id .

3.)The others charts you want to display along with this one ,then in there layout,show conditional expression write the same expression

if(vshow='CT08',1,0) .

Remember that the object id in this expression need to be same in every other chart you are applying.

4.) you can tag buttons also by using set variable,activate object actions of buttons.

Regards,

Udit

Not applicable
Author

So where are you setting the variable vshow? It seems like you're just checking its value, but never assigning it a value.