Aggregate
The Aggregate processor performs aggregate calculations on data within a batch. The processor does not perform calculations across multiple batches. To perform calculations on subsets of a batch, you can specify fields to group by.
For example, you can use the Aggregate processor to calculate the sum of all purchases in
a batch grouped by state, and to write the results to a State_Total
output field in each record.
Records generated by the Aggregate processor include the output fields and the fields to group by. All other fields from the input record are dropped.
When you configure the Aggregate processor to perform a calculation, you specify the aggregation field, aggregate function, and output field to use. You can specify multiple sets of calculations to perform. You can optionally specify fields to group by for the calculations.