ORA-32639: Aggregate functions on reference MODELs are not allowed
Cause: An aggregate function was specified on the cells of a reference MODEL.
Action: Check the SQL statement and rewrite if necessary.
Error Type: ORA
Record: 1/1