Influxdb update, integral no more available?


I’m using influxbd to display power consumption. Everything was going well before i updated my influxdb version.
i wrote an API that gets the integral(value) to have power consumption in kWh ( python: client.query(“select integral(value)/1000 as value_1d from power where time >= now() - 1w and measure_type=‘P1’ group by time(24h)”).
This is what i get as a response : 'function not found: “integral” ’

Also chronograf does not display data anymore…
am i doing something wrong ?

any help would be appreciated :slight_smile:

Integral is a valid function. What version of Influx are you running?