Stat panel that shows only positive numbers

I am very very new to Grafana and have the following question:

I have a stat panel that has a Transform -> Binary operation that substracts: FieldA - FieldB

This is working fine but I would like it to show positive results only. If a result is negative, to show 0.

Is this possible?

I tried using the value mappings range from -1 to -99999 to show 0 but it doesn’t do anyting.



Any takers?


No one?

You have not said what your datasource is.

Sorry, datasource is InfluxDB.