Oracle Error Message
ORA-36174: (XSMXAGGR23) workspace object must be either a VARIABLE, a RELATION or a FORMULA.
Reason for the Error
The user specified something that was not a variable, a relation or a formula as a weight for AGGREGATE
Solution
Specify a valid variable, relation or formula instead