My electricity, gas an water meters occasionally get exchanged, and thus the counter gets reset.
This causes a counter reset in my data, like below.
How can I create InfluxDB (with Flux) queries which simply ignore this reset, e.g. when generating differences and/or derivatives? I know about derivative and “nonNegative: true”, but that still returns a delta of 0 if it is > 0. I want to pretend this reset did not occur at all - and if possible, also without manual value hackery because I want to use this feature in many datasets.