How to delete erroneous record

Hoping I am at the right place. New to InfluxDB and its Flux language.

I am monitoring humidity level and at times, I am getting a weird value such as -124% from the humidity sensor which screws up the graph. It is always that same weird value I get about every three months.

How do I go about either deleting this record or excluding it from my query?

Thanks

1 Like