Dynamically show/hide panels based on the drop-down list selection

Hello all,

i’m using Grafana v6.6.0 (Datasource - > Zabbix)
I want to dynamically display/hide panels based on the drop-down selection (variable) I choose. Is there a way to do so on Grafana 6.x?
For example, if i choose server A , it will show panel Y and Z. If choosing server B, it will show panel X and Z.

Please help.

Many thanks!