Home > Transforms Nodes > Aggregation > Edit Aggregate Node > Add Custom Aggregation
To add a custom aggregation, click
and follow these steps:
Output is the name of column that holds the results of aggregation; specify a name.
Expression is the expression to add. To define an expression, click
to launch Expression Builder.
This expression calculates all products bout by a customer and casts the result to a nested data type:
CAST (COLLECT (TO_CHAR (PROD_ID)) AS ODMR_NESTED_VARCHAR2)
To define a Sub Group By column, click Edit to launch Edit Group By. (Sub-Group By is explained in Define Aggregation.) It is not necessary to define a Sub Group By column.
Click Validate to validate the expression.
When you are done, click OK.