Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Checks if a value is text, and returns TRUE
or FALSE
.
ISTEXT(<value>)
Term | Definition |
---|---|
value |
The value you want to check. |
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")
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today