QSM-02131: agg(expr) requires correspondng SUM(expr) function Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the SUM function on the same argument. Action: Add the SUM function to the select list.