"this year so far" electrical power consumption

Hello!

At the end of the day I write the current kWh value of a power meeter into my influxdb 2
This value is growing every day.

Now I was wondering how I can query influxdb 2 to get the “energy consuption for this year so far” which I want to display in my grafana dashboard.

Thank you! :slight_smile: