Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

nikhilgarg
Contributor III

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

Re: Show/Hide Container expression

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

nikhilgarg
Contributor III

Re: Show/Hide Container expression

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

Community Browser