Can't have aggregate function in expression (Item).
Error 3095
You can't use an aggregate function in this expression.
See Also
SQL Aggregate FunctionsM7QTSY