Oracle Solution for Error ora-36185

Solution for Oracle Error ORA-36185

ORA-36185: (XSAGGR11) workspace object

does not have any AGGCOUNT information.

What triggered the Error:

User attempted an operation (such as the AVERAGE aggregation operator or the AGGCOUNT function) that requires a variable to have AGGCOUNT information on a variable that does not.

What should we do to fix it:

Define the variable using the WITH AGGCOUNT clause, or use the CHGDFN ADD AGGCOUNT command to enable AGGCOUNT for the variable.