title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.subservice | ms.topic | ms.custom |
---|---|---|---|---|---|---|---|---|---|
NOT (MDX) |
NOT (MDX) |
kfollis |
kfollis |
kfollis |
02/17/2022 |
sql |
analysis-services |
reference |
mdx |
Performs a logical negation on a numeric expression.
NOT Expression1
Expression1
A valid Multidimensional Expressions (MDX) expression that returns a numeric value.
A Boolean value that returns false if the argument evaluates to true; otherwise, true.
The NOT operator treats the expression as a Boolean value (zero, 0, as false; otherwise, true) before the operator performs the logical negation. The following table illustrates how the NOT operator performs the logical negation.
Expression1 | Return Value |
---|---|
true | false |
false | true |