Replies: 1 comment
-
Here is another discussion: #24315 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would need to calculate the stepped integrated average of a timerange for compressing data.
In the picture there are several measurements shown as red points.
The orange line I guess is the line used to calculate the timeWeightedAverage of the timerange between 0 and 10.
The green line is the needed line for the calculation.
Calculation:
Can you please help me to set this up right?
Up to now it is something like:
|> aggregateWindow( every: 1s, fn: (column, tables=<-) => tables |> timeWeightedAvg(unit: 1s), createEmpty: false)
Beta Was this translation helpful? Give feedback.
All reactions