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: 
Iwin
Partner - Creator
Partner - Creator

Toggle inside container object

Hi All,

I want to show /hide charts inside container object based on selection.

If i select Target Sales 2021 above ,then below also Target Sales 2020 should be shown. 

Same for Target Jobs 2021,If i select Target Jobs 2021 above ,then below also Target Jobs2020 should be shown

thumbnail_image.png

What changes should i make?

 

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Get rid of the containers and use the conditional show condition of the charts directly using a variable that you set with a button object to toggle between Sales and Jobs. Or use two buttons if you find that visually more attractive.

There's an example here: https://community.qlik.com/t5/QlikView-App-Dev/Hide-show-an-Object-with-button-set-variable/td-p/367...

And another one here: https://community.qlik.com/t5/QlikView-App-Dev/Toggling-multiple-charts-with-variables-and-condition...

And if you search this site you should be able to find plenty more.


talk is cheap, supply exceeds demand