Filter out spikes, peaks, regular

Hi all,

I have my power production displayed in Grafana. I have a device (probably a water boiler) which dirties my graph. I have googled and searched but not found an answer, maybe I have searched wrong. But I could use some direction on how to filter (in Grafana) out these spikes:

It would be useful if you could provide the current query you use to produce the graph…You could try and apply a ‘mean()’ aggregation that might help.