| title |
NOT (MDX) | Microsoft Docs |
| ms.custom |
|
| ms.date |
03/02/2016 |
| ms.prod |
sql-server-2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
c11bd3b0-54b3-4a6d-babc-6067722194db |
| caps.latest.revision |
26 |
| author |
Minewiskan |
| ms.author |
owend |
| manager |
erikre |
[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx_md]
Performs a logical negation on a numeric expression.
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.
Remarks
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 |
MDX Operator Reference (MDX)