ISNUMBER

Updated on

ISNUMBER is a DAX function that checks whether a value is a number and returns TRUE or FALSE accordingly.

Syntax

ISNUMBER( Value )
Argument Properties Description
Value The value you want to test.

Return Values

TRUE if the value is numeric; 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 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")

Other functions related to ISNUMBER are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/isnumber-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy