Logical expression required

The expression provided in the Expression Builder must be of Logical type. For more information, see Creating Logical Expressions.