docs-v2/content/influxdb/cloud/query-data/flux/first-last.md

672 B

title seotitle list_title description weight menu influxdb/cloud/tags related list_query_example
Query first and last values Query first and last values in Flux First and last Use the [`first()`](/influxdb/cloud/reference/flux/stdlib/built-in/transformations/selectors/first/) or [`last()`](/influxdb/cloud/reference/flux/stdlib/built-in/transformations/selectors/last/) functions to return the first or last point in an input table. 210
influxdb_cloud
parent name
Query with Flux First & last
query
/{{< latest "flux" >}}/stdlib/universe/first/
/{{< latest "flux" >}}/stdlib/universe/last/
first_last

{{< duplicate-oss >}}