Show/Hide container is not working instantly in qliksense
Can any one help me regarding Show/Hide container in Qlik Sense.Here my problem is it is not instantly even though the condition is changing as expected.
In Conditional Visualizations, i have used 2 charts 1 .State Map 2. City Map.
Conditions used for state map is if(GetSelectedCount(StateArea) = 0 , 1, 0) and for City map is if(GetSelectedCount(StateArea) >1 , 1, 0). When iam selecting any state, condition is changing as expected but chart is not hiding dynamically.
After selecting any state, when i go to previous sheet and coming back to my maps sheet then state map is hiding and city map is showing but on instant it is not changing dynamically. Is any problem with extension or any wrong in my coding?
Re: Show/Hide container is not working instantly in qliksense
The alternative visualisation functionality has only just been added to Sense in the June 2017 release. I've not had a chance to try it out myself yet. As such, there could be glitches with it.
I would recommend that you put your expressions into simple Text objects to see the output from those changing.
Note that GetSelectedCount returns 0 if nothing is selecting (i.e. everything is selected).
You will be much better off using GetPossibleCount,
GetPossibleCount(StateArea) = 1
GetPossibleCount(StateArea) <> 1
You don't need to add the IF statements returning 0 or 1, the expression will return the correct value anyway. Also, I would always go for the same expression for a straight toggle, just with = and <> in there (rather than = and > as you have, as this does not take into account < 0 or null()).
Hope that helps. It's good to see this functionality finally available and being used in Sense.