Message Oracle ORA-36170 - (XSMXAGGR12) The data type of the WEIGHT workspace object must be numeric or BOOLEAN, not string.

ERROR(XSMXAGGR12) The data type of the WEIGHT workspace object must be numeric or BOOLEAN, not string.
CAUSEThe user specified a WEIGHT variable or formula which wasnt numeric or boolean
ACTIONSpecify a numerical or boolean weight instead