min() function
The min()
function selects record with the lowest _value
from the input table.
min()
is a selector function.
min(column: "_value")
Empty tables
min()
drops empty tables.
Parameters
column
The column to use to calculate the minimum value.
Default is "_value"
.
tables
Input data.
Default is piped-forward data (<-
).
Examples
The following example uses data provided by the sampledata
package
to show how min()
transforms data.
import "sampledata"
sampledata.int()
|> min()
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, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.