ISEVEN DAX Function (Information)
Syntax
Parameter | Attributes | Description |
---|---|---|
Number |
The value to test. If number is not an integer, it is rounded to the nearest integer. |
Return values
Examples
-- ISEVEN checks that a number is EVEN, -- ISODD checks that a number is ODD EVALUATE { ( "ISEVEN ( 10 )", ISEVEN ( 10 ) ), ( "ISODD ( 10 )", ISODD ( 10 ) ), ( "ISEVEN ( 11 )", ISEVEN ( 11 ) ), ( "ISODD ( 11 )", ISODD ( 11 ) ) }
Value1 | Value2 |
---|---|
ISEVEN ( 10 ) | true |
ISODD ( 10 ) | false |
ISEVEN ( 11 ) | false |
ISODD ( 11 ) | true |
Related functions
Other related functions are:
Last update: Jun 27, 2022 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo, Kenneth Barber,
Microsoft documentation: https://docs.microsoft.com/en-us/dax/iseven-function-dax