docs-v2/content/influxdb/v2/query-data/common-queries/compare-values.md

17 lines
647 B
Markdown

---
title: Comparing values from different buckets
seotitle: Compare the last measurement to a mean stored in another bucket
description: >
Compare the value from the latest point to an average value stored in another bucket. This is useful when using the average value to calculate a threshold check.
influxdb/v2/tags: [queries]
menu:
influxdb_v2:
name: Compare values from different buckets
parent: Common queries
weight: 104
source: /shared/influxdb-v2/query-data/common-queries/compare-values.md
---
<!-- The content for this file is located at
// SOURCE content/shared/influxdb-v2/query-data/common-queries/compare-values.md -->