aggregate.sum() function
aggregate.sum()
is a user-contributed function maintained by
the package author and can
be updated or removed at any time.
aggregate.sum()
constructs a sum aggregate for the column.
Function type signature
(
?column: A,
?fill: B,
) => {
reduce: (state: E, values: [E]) => E,
init: (values: [D]) => D,
fill: B,
compute: (state: C) => C,
column: A,
} where D: Numeric, E: Addable + Numeric
Parameters
column
Name of the column to aggregate.
fill
When set, value to replace missing values.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.