Alert - no data


Trying to create an alert for when my data goes above a certain value. When I try to test the rule I get no data, see screenshot below. Data shows in my graph, which is stored in influxDB. Influx recieves data from my nodes every 10 min.

My query:
SELECT "U1N", "U2N", "U3N" FROM "nett"."autogen"."el_mv" WHERE $timeFilter AND "dev_id"='[[devID]]' where devID is a variable.

Any help/suggestions to why my alert is not working?


Edit: Running ver. 5.4.3 btw

Seems to be because I use variables.

I have around 100 devices, more to come, how can I then create alerts for all devices and show them in the alert list?