Group table instances by keys aggregating the measures using the corresponding aggregation function.
Useful links