QSM-02003: aggregate function nested within an expression Cause: The capability in question is not supported when the materialized view contains an aggregate function invocation nested within an outer expression. Action: Re-phrase the expression such that the aggregate function invocation is not nested.