Running average
Calculate a running average for a column.
Adds a new column that returns the running average of the value columns you specify. Use when you want to calculate a running average for a column.
The result is sorted based on another column you specify.
Group by is an optional configuration.
Input
The Running average tool requires one data set.
Configuration
Use the following configuration options to help create your case configuration.
Go to the Pipes module from the side navigation bar.
From the Pipes tab, click an existing pipe to open, or create a new pipe. To create a new pipe, read the Creating a pipe documentation.
In the Pipe builder, add at least one data source to your pipe. For more information on adding a data source, see the Data tool.
Click
+ Tool.
The Tools modal opens where you can add tools, such as the Aggregate tool to your pipe.
In the Tools modal, search for Running average and then click + Add tool.
Tip
You can also find the Running average tool in the Calculate section.
Click the tool node and drag the line to the next tool to connect the tools. If you need to undo the action, click the line and then click Unlink.
In the configuration pane, enter the following information:
Table 44. Running average tool configurationField
Description
Value columns
Select the numeric columns from your dataset to use to calculate a running average.
Group columns
Select the text columns to group together in your dataset.
Sort by
Select the column that you want to sort by.
Sort direction
Choose the direction to sort your data in, either ascending or descending.
+ New sort criteria
Click to add another sort criteria to your data.