You should work with a parameter in combination with calculated field to show/hide you visualizations.
Check out this guide: Show & Hide feature using Parameters in Tableau - YouTube
It should work for what you want to achieve.
Attach workbook for more clarification
Make parameter with two value 0/1 and link with calculated field after that use this calculated field in filters