Cannot add this expression to the select list.
There are limitations to what expressions are allowed in the select list. The expression you are trying to add may be invalid.
Verify that the syntax in the expression is correct. It is possible that the type of expression is invalid.
Expressions | Using Operators in Expressions |