Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.34 KB

File metadata and controls

44 lines (33 loc) · 1.34 KB
title NOT (DMX) | Microsoft Docs
ms.date 06/07/2018
ms.prod sql
ms.technology analysis-services
ms.custom dmx
ms.topic conceptual
ms.author owend
ms.reviewer owend
author minewiskan

NOT (DMX)

[!INCLUDEssas-appliesto-sqlas]

A logical operator that performs a logical negation on a numeric expression.

Syntax

  
NOT Expression1  

Parameters

Expression1
A valid DMX expression that returns a numeric value.

Return Value

A Boolean value that returns FALSE if the argument evaluates to TRUE; otherwise FALSE.

Remarks

The argument is treated as a Boolean value (0 as FALSE; otherwise TRUE) before the operator performs the logical negation. If Expression1 is TRUE, the operator returns FALSE. If Expression1 is FALSE, the operator returns TRUE. The following table illustrates how the logical conjunction is performed.

If Expression1 is Return value is
TRUE FALSE
FALSE TRUE

See Also

Data Mining Extensions (DMX) Operator Reference
Logical Operators (DMX)
Operators (DMX)