Migrate query to calculate energy (kWh)

Hi,
try add "timeSrc: “_start” to last aggregateWindow like:
|> aggregateWindow(fn: sum, every: 1d, timeSrc: “_start”)

2 Likes