Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Show/Hide Container expression

Hello All,

I am using Show Hide Container in Qliksense. I ahve created 2 separate charts, one for state and another for cities.

I have used Show/Hide container for this. I am using following expression as Condition to show Chart for cities.

if(GetPossibleCount([India States.Area]) = 1 , 1, 0)

Above expression working fine when i select one state. But user can select multiple state as well. For that i changed my expression to:

=if(GetPossibleCount([India States.Area]) > 0 , 1, 0), but this does not seems to work.

I ahve used GetSelectedCount() as well but it does not works. Can anyone help me telling what expression to use that works fine with either one or multiple state selected?


Thanks,

Nikhil Garg

2 Replies
sunny_talwar

What if you just use GetSelectedCount([India States.Area]) > 0

nikhilgarg
Specialist II
Specialist II
Author

Show Hide Container is not working in that case if i use GetSelectedCount(). I guess it will only work for GetPossibleCont()