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: 
psankepalli
Partner - Creator III
Partner - Creator III

Dynamic Container based on selection of list box

Hi Everyone,

I want to have a line chart inside the container based on the selection of list box.

lets say I have a list box with 3 values as dimension

Val1, Val2, Both.

when user selects the Val1, the container should display only one chart with the Val1 data.similarly

Val2 -> Val2 line chart.

Both --> Val1 & Val2 charts?

How do I develop dynamic container with the help fo list box selections/

Note: I have tried to use show and hide feature , but unfortunately its hiding only chart not the chart tab in container

please help.

8 Replies
sunny_talwar

Have them conditionally hide and show expressions

1 line expression's condition -> Match(ListBoxField, 'Val1', 'Both')

2 line expression's condition -> Match(ListBoxField, 'Val2', 'Both')

marcus_sommer

The container has no feature to show or hide tabs - if this is important for you you will need to use textboxes as tabs and as frame and using above mentioned hiding-conditions.

- Marcus

pooja_sn
Creator
Creator

Tabs of a container cannot be hidden or displayed dynamically

b_garside
Partner - Specialist
Partner - Specialist

this is why I don't use containers.

psankepalli
Partner - Creator III
Partner - Creator III
Author

Thank you for everyone's reply. let me check Sunny & Marc suggestions and will get back to you.

psankepalli
Partner - Creator III
Partner - Creator III
Author

Hi Pooja,

Any idea what is the work around solution for that?

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Hw many charts do you have in one container...

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
pooja_sn
Creator
Creator

Is it mandatory to use container in your case. Because you can directly add charts and set visibility conditionally depending on listbox selection. Please share a sample file if you can.