Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Checks if a value is text, and returns TRUE or FALSE.
Syntax
ISSTRING(<value>)
Parameters
| Term | Definition |
|---|---|
value |
The value you want to check. |
Return value
TRUE if the value is text; otherwise FALSE.
Remarks
- This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
- This function is an alias of ISTEXT.
Example
The following DAX query shows the behavior of the ISSTRING function.
EVALUATE
{
IF ( ISSTRING ( "text" ), "Is Text", "Is Non-Text" ), // RETURNS: Is Text
IF ( ISSTRING ( "" ), "Is Text", "Is Non-Text" ), // RETURNS: Is Text
IF ( ISSTRING ( 42 ), "Is Text", "Is Non-Text" ), // RETURNS: Is Non-Text
IF ( ISSTRING ( BLANK () ), "Is Text", "Is Non-Text" ) // RETURNS: Is Non-Text
}