OpenBI Docs Buy

NOT

The opposite of a logical value.

Group: Logical. Compatible with DAX.

Syntax

NOT ( <logical> )
ParameterTypeDescription
logicalBooleanThe condition to turn round.

Returns

Boolean. TRUE for FALSE, FALSE for TRUE.

Remarks

  • It can be written as an operator too: NOT ISBLANK ( x ) needs no brackets around its argument.
  • A blank counts as FALSE, so NOT ( BLANK () ) is TRUE. A number counts as TRUE unless it is 0. Text is an error.

Examples

NOT of a few values

EVALUATE
ROW (
    "TRUE", NOT ( TRUE () ),
    "Blank", NOT ( BLANK () ),
    "0", NOT ( 0 ),
    "5", NOT ( 5 )
)
TRUEBlank05
FALSETRUETRUEFALSE

Bonds with a price

EVALUATE
ROW ( "Priced", COUNTROWS ( FILTER ( Holdings, NOT ISBLANK ( Holdings[Price] ) ) ) )
Priced
3

AND, OR, ISBLANK, FALSE.

Last updated · OpenBI Studio 0.3.74