Oracle Solution for Error ora-36274

Solution for Oracle Error ORA-36274

ORA-36274: (XSCGMDLAGG05) The operator used in this equation needs a weight variable.

What triggered the Error:

An invalid weight variable was specified.

What should we do to fix it:

Correct the invalid weight variable.