Oracle Error ORA-36225: (XSLPDSC06) A LOOP AGGMAP list must contain an aggmap object, followed by one or more variables and/or dimensions.

Oracle Error Message

ORA-36225: (XSLPDSC06) A LOOP AGGMAP list must contain an aggmap object, followed by one or more variables and/or dimensions.

Reason for the Error

An invalid AGGMAP list was specified. Either to few objects were specified, or an incorrect type of object was used.

Solution

Specify a valid AGGMAP list consisting of an aggmap object, followed by one or more variables and/or dimensions.