Check_MK & Grafana - solution/help for mean/min/max calculation

Sadly not, I need a line in the diagram and sometimes I need a calculated value like “mean over the last XX days” as a line in the Grafana Panel.