How to hide panels that don't contain information in Grafana 9.1.1

Hello,

I am working with Zabbix and Grafana to visualize IIS App Pool items from multiple servers on the same dashboard.

Currently, I have the following setup:

  • A variable for servers

  • A variable for items (App Pools)

  • A Row that repeats for each server

  • Panels inside the Row that repeat for each item

The issue is that the item variable is not filtered by server. In other words, even though the Row corresponds to a specific server, the item variable still returns all items from all servers, instead of only those that belong to that server.

Because of this, for each server many unrelated items are displayed, and they appear in a “NO DATA” state, which makes the dashboard confusing and difficult to interpret.

Does anyone know how I can make the item variable depend on the server variable, so that it only shows items corresponding to the selected server in each Row? Alternatively, is there a way to automatically hide panels that display “NO DATA”?

How have you configured these variables

Variables I’m using

I have these variables:

$grupoiis → Zabbix groups

$hostiis → Hosts inside that group

$itemapooluptime → AppPool uptime items

This panel has the following configuration.

Can the group field in your dashboard datasource contain only one group or can it contain multiple groups since you have selected All

I need to select all the items because I must display all the App Pools from each server for every client within the same dashboard.
The problem is that the variable itempooluptime stores all the App Pools from all servers and all clients, without any filtering applied.
When I use this variable inside the rows, I expect Grafana to automatically filter the values based on the server referenced in that specific row.
However, this does not happen:
:backhand_index_pointing_right: Grafana does not filter the variable according to the server defined in the row.
Instead, itempooluptime continues to show all App Pools, including those that belong to other servers.