Overview
The Aggregate node is a transformation node in a Weave Workflow that groups a table by selected columns and returns aggregated output columns. It sits in the middle of a Workflow’s processing path between source nodes (Data Import) and terminal nodes (Result, Output) and emits the aggregated data downstream.
Configuration has three parts: Aggregation Criteria defines the group-by columns; Output defines the columns for the final result, each paired with an aggregate function from a dropdown; and Filter Output optionally filters the aggregated rows and columns. The output columns are named with their function (for example, avg_Units_Sold).
Note: “Workflow” is the in-UI term for what some Weave documentation calls a pipeline. This reference uses “Workflow.”
When to use it
- Summarizing row-level data into grouped totals, averages, or extremes.
- Producing per-group metrics (for example, average units sold and maximum sales per group).
- Reducing a detailed table to one row per group for reporting or downstream processing.
- Filtering aggregated results to groups that meet a condition via Filter Output.
Configuration components
| Component | Description |
| Aggregation Criteria | Groups the table by the selected column(s). Opened via Select. |
| Output | Chooses the columns for the final output along with their aggregation function from a dropdown. Opened via Select. |
| Filter Output | Filters specific rows and columns out of the aggregated data. Opened via Filter. |
Aggregate functions
The Output dialog assigns one of the following functions to each selected column:
| Function | Description |
| Count | Returns the number of elements in a column. |
| First | Returns the first non-null element in a column. |
| Last | Returns the last non-null element in a column. |
| Mean | Returns the average of values in the input column. |
| Max | Returns the maximum value in a column. |
| Min | Returns the minimum value in a column. |
| Std | Returns the standard deviation of a numerical column. |
| Var | Returns the variance of a numerical column. |
| Sum | Returns the total of a numerical column. |
Filter Output reference
The Filter Criteria dialog defines conditions on the aggregated data as rows, optionally organized into groups.
| Field | Description |
| Column | The column the filter applies to. |
| Aggregate Function | The aggregate function evaluated for the condition. |
| Filter Condition | The comparison applied (e.g. equals, greater than). |
| Input | The value compared against. |
| Action | Add (+) a criteria row; Add Group / Delete Group manage groups. |
Key behaviors
Aggregate is a transformation node. Unlike Data Import (source) and Result / Output (terminal), it sits in the middle of the Workflow, receiving data upstream, grouping and aggregating it, and passing the result downstream.
Grouping drives row count. The result has one row per unique combination of the Aggregation Criteria columns. The Output columns are computed within each group.
Function per output column. Each Output column carries its own aggregate function chosen from the dropdown, and the result column is named accordingly.
Optional post-aggregation filter. Filter Output applies after aggregation, removing rows and columns that do not meet the criteria.