TechNet
Export (0) Print
Expand All

ISNUMBER Function (DAX)

 

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)

Community Additions

Show:
© 2016 Microsoft