I do not know if this is a general influxql to flux topic is but i have some issues with conversion to the new 2.0
I try to learn
My old query, this the power generated by my solor panels perday, in 1.8
SELECT derivative(mean("zonnepanelen-totaal"),1d) AS "DailyPower" FROM "udp"."autogen"."Solar" WHERE time > now() - 31d GROUP BY time(24h) tz('Europe/Amsterdam')
The new ( note that “zonnepanelen-totaal” changed to “Watth”), below works but i do not get the Yield per day @00:00 hour. But 10000 + results and also where to put the tz(‘Europe/Amsterdam’