Is it possible to stop alerts when there is no data or the value is zero

I have set an alert for one of my single stat panel in which when the value is greater than 1 it should send an alert to the user but when there is no data or the value is 0 an alert with the flag No Data is sent.
Is it possible to send alerts only when there is a value?