Expressions with different data types can generate errors. To work with different data types in a single expression, you need to convert to the same data type.
For more information, see Creating an Expression.