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

ISNUMBER Function (DAX)

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

Checks whether a value is a number, and returns TRUE or FALSE.

Syntax

ISNUMBER(<value>)  

Parameters

TermDefinition
valueThe value you want to test.

Property Value/Return Value

TRUE if the value is numeric; otherwise FALSE.

Example

The following three samples show the behavior of ISNUMBER.

//RETURNS: Is number  
=IF(ISNUMBER(0), "Is number", "Is Not number")  
  
//RETURNS: Is number  
=IF(ISNUMBER(3.1E-1),"Is number", "Is Not number")  
  
//RETURNS: Is Not number  
=IF(ISNUMBER("123"), "Is number", "Is Not number")  

See Also

Information Functions (DAX)

© 2018 Microsoft