Expression '{0}' is not a valid configuration for user-defined aggregate/operator '{1}'. Only constant expression is allowed. ...