Oracle Solution for Error ora-32641

Solution for Oracle Error ORA-32641

ORA-32641: invalid expression in MODEL rule ORDER BY clause

What triggered the Error:

An invalid expression was specified in the MODEL rule ORDER BY clause where only expressions of dimension and measure columns and reference MODEL cell references are allowed

What should we do to fix it:

Modify the order by clause in the MODEL rule.