...
Code Block | ||
---|---|---|
| ||
def groupByData = api.newMatrix() //Definition of result matrix (columns, rows). .withColumns('TextColumn1', 'TextColumn2', 'NumericColumn3', 'NumericColumn4') .withRows(entries) // Definition of result matrix (columns, rows). .withGroupBy(['TextColumn1', 'NumericColumn3']) .withColumnAggregation('NumericColumn3', SUM) .calculateGroupByData() |
...