OpenBI Docs Buy

ISNONTEXT

Whether a value is not text; a blank is not text.

Group: Information. Compatible with DAX.

Syntax

ISNONTEXT ( <value> )
ParameterTypeDescription
valueValueWhat is tested: a constant, a column in a row context, a measure or any expression.

Returns

Boolean. TRUE when the value is not text: a number, a date, TRUE or FALSE, or a blank.

Remarks

  • A blank counts as non-text: TRUE. Empty text is text: FALSE.
  • It is NOT ISTEXT ( value ), and so it tells nothing about whether a value is there; test that with ISBLANK.

Examples

Values of several types

EVALUATE
ROW (
    "Pils", ISNONTEXT ( "Pils" ),
    "Empty text", ISNONTEXT ( "" ),
    "42", ISNONTEXT ( 42 ),
    "Blank", ISNONTEXT ( BLANK () ),
    "A date", ISNONTEXT ( DATE ( 2026, 11, 2 ) )
)
PilsEmpty text42BlankA date
FALSEFALSETRUETRUETRUE

A column of numbers

Every price is a number or a blank, so none is text.

EVALUATE
SELECTCOLUMNS (
    Holdings,
    "Bond", Holdings[Bond],
    "Price", Holdings[Price],
    "Not text", ISNONTEXT ( Holdings[Price] )
)
BondPriceNot text
Government 202897.84TRUE
Government 203392.15TRUE
Municipal 2031(blank)TRUE
Covered 2029(blank)TRUE
Corporate 2030101.3TRUE

ISTEXT, ISSTRING, ISBLANK, ISNUMBER.

Last updated · OpenBI Studio 0.3.74