Oracle Solution for Error ora-36621

Solution for Oracle Error ORA-36621

ORA-36621: (XSAGMODDIM02) You cannot AGGREGATE the individual partition using static model workspace object

because a partition dimension or its deriver workspace object

appears in the equation of the step or simultaneous block.

What triggered the Error:

An attempt was made to AGGREGATE the individual partition using the static model with the partition dimension in the equation of the step or simultaneous block.

What should we do to fix it:

AGGREGATE the variable instead of the individual partition.