Sum values in one or more columns

Aggregates values in specified columns grouped by rows.



data: The datatable to be aggregated

sum columns:The names of the columns to be summed.

group columns: The names of the columns containing values to be grouped.


data: A datatable with aggregated data.


Run the above data-flo, which is set up as shown here. The outputs help show how things are grouped and/or summed. All unique values or combinations for the grouped columns are summed for the sum columns. In this example, col3 is summed each time, with other columns used as group columns.

Last updated