Scale max with $__interval_ms

Hi,
I have a stat panel counting my requests against an external API. Now I want to add a threshold visualizing my remaining quota. Thus I have to set a min and max value and set the threshold values as percentages, so far so good. The problem is once I adjust the Grafana time interval the min, max value don’t adapt.
Is there any way to scale the max value in regard of the Grafana time interval? Tried with $__interval_ms but it doesn’t work for the max field.

Thanks in advance,
PS: I’m a Grafana beginner, please be patient :slight_smile: