Using repeated row to filter query

I’m using Grafana 9.3.6 to build a dashboard about the connectivity of various nodes across our network.

In order to do that, I’m using the blackbox_exporter on each node and prometheus to collect the data.

As a consequence, I get time series with 2 attributes: job_name (i.e. on which node I did the test) and instance (i.e. which url was tested).

I ended up creating a dashboard that has multiple rows (one per target). This allows me to create a heatmap where I have one row per target.
I managed to update the row title with something like Connectivity for $target. So far, so good…

Unfortunately, when I try to update the query of a panel to min_over_time(probe_success{instance="$target"}[5m]), I get the following error message:

No data in response

How can I filter data based on the value of the current row?