Template variables are not supported in alert queries – Grafana error

When you try to create the first alert on a Grafana dashboard, you may get the error message: Template variables are not supported in alert queries Cause All queries of the panel use at least one template variable with the format ${VARIABLE_NAME} or $VARIABLE_NAME Template variables usually represent the value of selected items in dropdown …