21 lines
623 B
Markdown
21 lines
623 B
Markdown
---
|
|
title: Calculate the moving average
|
|
seotitle: Calculate the moving average in Flux
|
|
list_title: Moving Average
|
|
description: >
|
|
Use the [`movingAverage()`](/flux/v0/stdlib/universe/movingaverage/)
|
|
or [`timedMovingAverage()`](/flux/v0/stdlib/universe/timedmovingaverage/)
|
|
functions to return the moving average of data.
|
|
weight: 210
|
|
menu:
|
|
influxdb_cloud:
|
|
parent: Query with Flux
|
|
name: Moving Average
|
|
influxdb/cloud/tags: [query, moving average]
|
|
related:
|
|
- /flux/v0/stdlib/universe/movingaverage/
|
|
- /flux/v0/stdlib/universe/timedmovingaverage/
|
|
list_query_example: moving_average
|
|
---
|
|
|
|
{{< duplicate-oss >}} |