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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
manoj217
Creator III
Creator III

show hide object

Hi all,

I have 3 objects and 1 button first i press the button hide the object ch01,next again if i press the same button hide ch02,same way show also for the three objects how to achieve that

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Define a variable (say vSelect) and initialise to a value (eg 0).In the button action, set vSelect to

=Mod(vSelect + 1, 3) + 1

This will cause vSelect to count 1, 2, 3, 1, 2, 3, .... from successive clicks of the button,

Now set the show conditions to match your requirements.

Chart 1 - vSelect = 1

Chart 2 - vSelect = 1 or vSelect = 2

etc

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sahadevpatil140
Partner - Contributor III
Partner - Contributor III

Hi,

I have done the object hide and show based on button click count.

Attached shows an expected output.

Regards

Sahadev Patil