22 lines
608 B
Markdown
22 lines
608 B
Markdown
---
|
|
title: Query first and last values
|
|
seotitle: Query first and last values in Flux
|
|
list_title: First and last
|
|
description: >
|
|
Use `first()` or `last()` to return the first or last point in an input table.
|
|
weight: 210
|
|
menu:
|
|
influxdb_v2:
|
|
parent: Query with Flux
|
|
name: First & last
|
|
influxdb/v2/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 for this file is located at
|
|
// SOURCE content/shared/influxdb-v2/query-data/flux/first-last.md -->
|