Oracle Error Message
QSM-02014: GROUP BY expression other than a column
Reason for the Error
The capability in question is not supported when the materialized view uses an expression other than a simple column reference in the GROUP BY clause.
Solution
Re-phrase the query to use only simple column expressions in the GROUP BY clause.