ISTEXT is a DAX function that checks whether a value is text and returns TRUE or FALSE accordingly.
Syntax
ISTEXT( Value )
Argument | Properties | Description |
---|---|---|
Value | The value you want to test. |
ISTEXT is a DAX function that checks whether a value is text and returns TRUE or FALSE accordingly.
ISTEXT( Value )
Argument | Properties | Description |
---|---|---|
Value | The value you want to test. |
TRUE
if the value is text; otherwise FALSE
.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
The following examples show the behavior of the ISTEXT function.
//RETURNS: Is Text
= IF(ISTEXT("text"), "Is Text", "Is Non-Text")
//RETURNS: Is Text
= IF(ISTEXT(""), "Is Text", "Is Non-Text")
//RETURNS: Is Non-Text
= IF(ISTEXT(1), "Is Text", "Is Non-Text")
//RETURNS: Is Non-Text
= IF(ISTEXT(BLANK()), "Is Text", "Is Non-Text")
Other functions related to ISTEXT are:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy