Table of contents
TOC
Collapse the table of content
Expand the table of content

ISTEXT Function (DAX)

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

Checks if a value is text, and returns TRUE or FALSE.

Syntax

ISTEXT(<value>)  

Parameters

TermDefinition
valueThe value you want to check.

Property Value/Return Value

TRUE if the value is text; otherwise FALSE

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")  

See Also

Information Functions (DAX)

© 2018 Microsoft