ISERROR Function (DAX)

How does the ISERROR function (DAX) work?

ISERROR function (DAX) checks if a value is an error, and returns either TRUE or FALSE.

ISERROR Formula Syntax

ISERROR (<value>)

How do you use the ISERROR function?

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

Related Blog Posts

create-a-table-in-power-bi
How-To-Harvest-Power-BI-Slicer-Selections-To-Use-Within-Other-Measures
Power-BI-WHAT-IF-Parameters

Related Support Forum Posts

How to search for a value within a column in Power BI
Iterating a distinctcount between two tables
Summarize not showing all data

Considerations when using the ISERROR function

The ISERROR function is used to check for errors, such as division by zero. If there is an error a blank is returned, otherwise the ratio is returned.

Related Video Tutorials

creating-great-color-palettes-for-power-bi-data-visualization-tips

Formula examples using the ISERROR function

= IF( ISERROR(  
       SUM('ResellerSales_USD'[SalesAmount_USD])  
       /SUM('InternetSales_USD'[SalesAmount_USD])  
             )  
    , BLANK()  
    , SUM('ResellerSales_USD'[SalesAmount_USD])  
      /SUM('InternetSales_USD'[SalesAmount_USD])  
    )

Related DAX Functions

IF
IFERROR

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI
Center of Excellence

DOWNLOAD


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


Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide
Membership