Problem with influxdb and energy-monitor

Building on this, is it possible to get the spread for each of the entries based on the time interval?

I have the same as Difference of min and max over $__interval but I would like to the values based on the interval

SELECT spread("value") FROM "autogen"."kWh" WHERE ("entity_id" = 'energie_gebruikt_t1') AND $timeFilter gives me only the a single value.