How to set Grafana Alerts with Parametric Thresholds?

Hi all,

I need to setup an alert that has a rule with parametric value.

For example:

my alert thresholds of today: 1 < x < 10
my alert thresholds of tomorrow: 2 < x < 6

so as you can see, thresholds should be changed automatically.

How I solve this?

grafana version 8.3.6
db: influx

Thank you!