ISEVEN

Applies to: Calculated column Calculated table Measure Visual calculation

Returns TRUE if number is even, or FALSE if number is odd.

Syntax

ISEVEN(number)  

Parameters

Term Definition
number The value to test. If number is not an integer, it is truncated.

Return value

Returns TRUE if number is even, or FALSE if number is odd.

Remarks

  • If number is nonnumeric, ISEVEN returns the #VALUE! error value.

  • This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.