How to set alert correctly

Hi Guys,

I am confused, I set a alert with flux.

from(bucket: "energy_log")
  |> range(start: -1m)
  |> filter(fn: (r) => r["_measurement"] == "energy-log")
  |> pivot(rowKey: ["_time"], columnKey: ["_field"], valueColumn: "_value")
  |> map(fn: (r) => ({ r with _value: "1" , server: ""}))
  |> count()

as normal, will get value ‘1’. so i set alert like this

and set no data.

but when met no data, I will receive two alert.

actually that should be one alert, no data or value<0 represent this error happend, I don’t know how to set alert configure correctly. can help? thanks

Hi Guys,
who can help this, thanks