Show panels on alert only

I would like to display in my dashboard, only the panels for which an alert is in progress, I suppose it is possible by means of variables, but I cannot do it, can you help me? thanks in advance

For information, my current dashboard works with a variable on the Host:

I use grafana with influxdb (flux syntax)

Welcome @thibaudchauvin and sorry for the late response…

AFAIK, there is not a way to display only those panels which have an alert in progress, but there is a plugin visualization that will summarize your alerts happening at the given moment, and there are a lot of options to explore. See below:

Hello @grant2 ,
Thank you very much for your answer, it’s a good start for me