Category: Transform / Basic
This action calculates the aggregates for selected columns, grouped by another set of columns.
Available aggregations:
Setting | Description |
---|---|
Calculate | Select the column in which the values will be aggregated. |
Aggregation method | Select the aggregation method to be used on the values in the chosen column. |
Group by | Select the column(s) in which the grouping of values will drive the aggregation. |
More than one aggregated column can be created by clicking the Aggregate by more columns option and selecting the additional column and aggregation to apply.
The output of this action is a dataset containing the "Group by" column, plus an additional column for each aggregation chosen.
Setting | Description |
---|---|
Separator | Select the character (delimiter) that will appear between the concatenated values. Options: Comma, Semicolon, Tab, Pipe, Tilde, Space, Line break, or No separator. |
Distinct | When checked, only unique values in the aggregated column will be included in the concatenation. |
Determine the longest river on each continent.
River | Length(km) | Continent |
---|---|---|
Amazon | 6400 | South America |
Yangtze | 6300 | Asia |
Yenisei | 5539 | Asia |
Mississippi | 6275 | North America |
Ob | 5410 | Asia |
ParanĂ¡ | 4880 | South America |
Continent | Length(km) |
---|---|
Asia | 6300 |
North America | 6275 |
South America | 6400 |
Calculate: Length(km), Aggregation: Max
Group by: Continent
Fast ways to create the action: