Message Oracle ORA-36174 - (XSMXAGGR23) workspace object must be either a VARIABLE, a RELATION or a FORMULA.

ERROR(XSMXAGGR23) workspace object must be either a VARIABLE, a RELATION or a FORMULA.
CAUSEThe user specified something that was not a variable, a relation or a formula as a weight for AGGREGATE
ACTIONSpecify a valid variable, relation or formula instead