ISTEXT
Applies to: Calculated column Calculated table Measure Visual calculation
Checks if a value is text, and returns TRUE or FALSE.
Syntax
ISTEXT(<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.
Example
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")
Related content
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir