The user-defined aggregate call must be wrapped inside a new expression. The following expression is not supported: '{0}'. ...