Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.41 KB

File metadata and controls

54 lines (43 loc) · 1.41 KB
title NOT (MDX) | Microsoft Docs
ms.custom
ms.date 03/02/2016
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
analysis-services
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
NOT
dev_langs
kbMDX
helpviewer_keywords
NOT operator [MDX]
ms.assetid c11bd3b0-54b3-4a6d-babc-6067722194db
caps.latest.revision 26
author Minewiskan
ms.author owend
manager erikre

NOT (MDX)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx_md]

Performs a logical negation on a numeric expression.

Syntax

  
NOT Expression1  

Parameters

Expression1
A valid Multidimensional Expressions (MDX) expression that returns a numeric value.

Return 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

See Also

MDX Operator Reference (MDX)