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

ERROR(XSAGGCNTMOVE06) An aggregation variable and its AGGCOUNT must have the same base dimensions.
CAUSEAn AGGCOUNT variable was specified with different base dimensions than the aggregation variable.
ACTIONSelect an AGGCOUNT variable with exactly the same base dimensions as the aggregation variable.