23 lines
691 B
Markdown
23 lines
691 B
Markdown
---
|
|
title: Query first and last values
|
|
seotitle: Query first and last values in Flux
|
|
list_title: First and last
|
|
description: >
|
|
Use the [`first()`](/flux/v0/stdlib/universe/first/) or
|
|
[`last()`](/flux/v0/stdlib/universe/last/) functions
|
|
to return the first or last point in an input table.
|
|
weight: 210
|
|
menu:
|
|
influxdb_cloud:
|
|
parent: Query with Flux
|
|
name: First & last
|
|
influxdb/cloud/tags: [query]
|
|
related:
|
|
- /flux/v0/stdlib/universe/first/
|
|
- /flux/v0/stdlib/universe/last/
|
|
list_query_example: first_last
|
|
source: /shared/influxdb-v2/query-data/flux/first-last.md
|
|
---
|
|
|
|
<!-- The content of this file is at
|
|
// SOURCE content/shared/influxdb-v2/query-data/flux/first-last.md--> |