Hello @Cavekeeper,
It might be timezones in which case you’ll want to look into using:
Or
Otherwise, I think the issue here is that your queries are slightly different. But it’s hard for me to say without seeing your data. Once you group by time in your InfluxQL query do you only have two values in that group?
I think the difference is from: NON_NEGATIVE_DIFFERENCE()
Returns the non-negative result of subtraction between subsequent field values. Non-negative results of subtraction include positive differences and differences that equal zero.
While
The spread() function outputs the difference between the minimum and maximum values in a specified column. spread() is an aggregate function.
I adapted this query as i attach below, so this returns the entire month grouped by days, but those days are in reality the previous day. Meaning that for example today is 18th of March and if i execute the query I get today’s data on 19th of March.
If I run with now() the server time seems correct.
Do someone know why is happening that or how to fix it?
Sorry for the delay, I missed your post. Now data seems more appropiated but I need to adjust it for each temporality. I need to understand deeper this attribute.