Show different visuals based on the selected filters

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.

1 Like

That’s what I need! Thank you!