I have two visuals: one map visual, one pivot table visual. I would like to display one of the two visuals depending on the filter option selected. For example, if filter is set to “map”, display map visual and hide pivot table visual. If filter is set to “pivot”, then display pivot table and hide map visual. Can this be done in QS?
Hi @Bruton3,
You can achieve this by using overlapping visuals in free-form layout and parameters.
First create a string parameter and give it a static default value which corresponds to the visual that you want to display by default.
Use the parameter to add a dropdown control and enter a value for each visual.
Switch to free-form layout and place one visual on top of the other. Hide each visual and create a rule to display it.
The rule is based on the value of the parameter.
That’s what I need! Thank you!
I have done what was suggested here and it works as long as they are not laying on top of each other. If they are, and the one on top is not tied to the control dropdown value, then it shows hidden and the one that should be showing is not visible. I put them side by side to make sure that when the value changes that the correct one is showing, but it doesn’t work when they are laid on top of each other. Is there some other setting that needs to be changed, like moving others to the back, or something like that?



