Comparison DAX operators in Power BI

There are the following Comparison Dax Operators in Power BI.

OperatorDescription
=Equal to
>Greater than
>=Greater than or equal to
<Less than
<=Less than or equal to
<>Not equal to

These operators are used to compare two values and return a Boolean result (TRUE or FALSE).

Example: Let’s create a measure with name “Comparison DAX Measure”.

DAX

Comparison DAX Measure = 6>8

The output of the above dax code is shown below:

Comparison DAX operator in Power BI

DAX

Comparison DAX Measure = 6<>8

The output of the above dax code is shown below:

Comparison DAX operator in Power BI

DAX

Comparison DAX Measure = 0 = Blank()

The output of the above dax code is shown below:

Comparison DAX operator in Power BI