OR (MDX)
Performs a logical disjunction on two numeric expressions.
Syntax
Expression1 OR Expression2
Parameters
- Expression1,
A valid Multidimensional Expressions (MDX) expression that returns a numeric value.
- Expression2,
A valid MDX expression that returns a numeric value.
Return Value
A Boolean value that returns true if either or both arguments evaluate to true; otherwise, false.
Remarks
The OR operator treats both arguments as Boolean values (zero, 0, as false; otherwise, true) before the operator performs the logical disjunction. The following table illustrates how the OR operator performs the logical disjunction.
Expression1 | Expression2 | Return Value |
---|---|---|
true |
true |
true |
true |
false |
true |
false |
true |
true |
false |
false |
false |