Oracle Solution for Error ora-36768

Solution for Oracle Error ORA-36768

ORA-36768: (XSAGGCNTMOVE06) An aggregation variable and its AGGCOUNT must have the same base dimensions.

What triggered the Error:

An AGGCOUNT variable was specified with different base dimensions than the aggregation variable.

What should we do to fix it:

Select an AGGCOUNT variable with exactly the same base dimensions as the aggregation variable.