ISNONTEXT

Updated on

ISNONTEXT is a DAX function that checks whether a value is not text (excluding blank cells) and returns TRUE or FALSE accordingly.

Syntax

ISNONTEXT( Value )
Argument Properties Description
Value The value you want to test.

Return Values

TRUE if the value is not text or blank; FALSE if the value is text.

Remarks

  • An empty string is considered text.

  • This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

Example

The following examples show the behavior of the ISNONTEXT function.

//RETURNS: Is Non-Text
= IF(ISNONTEXT(1), "Is Non-Text", "Is Text")

//RETURNS: Is Non-Text
= IF(ISNONTEXT(BLANK()), "Is Non-Text", "Is Text")

//RETURNS: Is Text
= IF(ISNONTEXT(""), "Is Non-Text", "Is Text")

Other functions related to ISNONTEXT are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/isnontext-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy