ISNUMBER Function (DAX)

How does the ISNUMBER function (DAX) work?

ISNUMBER function (DAX) checks whether a value is a number, and returns TRUE or FALSE.

ISNUMBER Formula Syntax

ISNUMBER (<value>)

How do you use the ISNUMBER function?

It returns TRUE when a cell contains a number, and FALSE if not. You can use ISNUMBER to check that a cell contains a numeric value, or that the result of another function is a number.

Related Blog Posts

Related Support Forum Posts

Accessing Matrix hierarchy levels
Dynamic RANKX with Other Category
Developing Complex Dax functions

Considerations when using the ISNUMBER function

Usually, value is given as a cell address, but other functions and formulas can be wrapped within ISNUMBER to check the result.

ISNUMBER returns TRUE for dates and times since they are numerical, and FALSE for numbers entered as text.

Related Video Tutorials

Formula examples using the ISNUMBER function

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

Related DAX Functions

ISBLANK
ISLOGICAL
ISERROR

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI

DOWNLOAD


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.


Download DAX Formula Reference Guide