Is it possible to hide a row if query is empty (Repeat on variable = None)?

I need to display a row only if certain metrics are present. Is that possible in Grafana6?
I tried to create a hidden dashboard variable that would be set to a single value if a metric is present and None if not present and was hoping that Repeat on that variable would hide if the variable is None.


HAve ypu find the answer…?