ORA-36174: (XSMXAGGR23) workspace object must be either a VARIABLE, a RELATION or a FORMULA
Cause: The user specified something that was not a variable, a relation or a formula as a weight for AGGREGATE
Action: Specify a valid variable, relation or formula instead
https://support.oracle.com/
http://www.oracle.com/