Oracle Error ORA-37417: variable does not have an AGGCOUNT

Oracle Error Message

ORA-37417: variable does not have an AGGCOUNT

Reason for the Error

A COUNT clause was specified in the ORGANIZATION CUBE description for a variable that does not have an AGGCOUNT

Solution

chgdfn the variable to include an AGGCOUNT