Oracle Error ORA-36182: (XSAGGR09) Could not locate a value for variable number in measure dimension workspace object.

Oracle Error Message

ORA-36182: (XSAGGR09) Could not locate a value for variable number in measure dimension workspace object.

Reason for the Error

A measure dimension was supplied in the AGGMAP, but a position for the variable was not found in it.

Solution

Add a position for the variable in the measure dimension.