experimental.sum() function is subject to change at any time.
By using this function, you accept the risks of experimental functions.
experimental.sum() function computes the sum of non-null values in the
column for each input table.
Function type: Aggregate
Output data type: Integer, UInteger, or Float (inherited from column type)
import "experimental" experimental.sum()
import "experimental" from(bucket: "example-bucket") |> range(start: -5m) |> filter(fn: (r) => r._measurement == "example-measurement" and r._field == "example-field" ) |> experimental.sum()
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.