OR DAX operator (||) in Power BI

The || (double pipe) operator creates an OR condition between two logical expressions. If either expression returns TRUE, the result is TRUE; only when both expressions are FALSE, the result is FALSE.

Syntax Expression1 || Expression2 || Expression3….

Here, Expression1, Expression2, Expressions3 are the expressions that are evaluated.

Example: Let’s create a measure with name “OR Operator Measure”.

DAX

OR Operator Measure = (5>5) || (6>2)

The output of the above code is shown below:

OR DAX operator in Power BI