How to get a dynamic threshold in stat panel?

but be attentive with “config from query result”.
The same value has always the same colour.

look at the “OK”…