IGNORE DAX Function (Table manipulation)
Tags a measure expression specified in the call to SUMMARIZECOLUMNS function to be ignored when determining the non-blank rows.
Syntax
| Parameter | Attributes | Description |
|---|---|---|
| Measure_Expression |
The Expression which needs to be ignored for the purposes of determining non-blank rows. |
Return values
IGNORE returns the value of the expression. SUMMARIZECOLUMNS does not use this value to remove the rows with BLANK.
Remarks
The IGNORE() syntax can be used to modify the behavior of the SUMMARIZECOLUMNS function by omitting specific expressions from the BLANK/NULL evaluation. Rows for which all expressions not using IGNORE return BLANK/NULL will be excluded independent of whether the expressions which do use IGNORE evaluate to BLANK/NULL or not.
Use IGNORE only as an expression argument of SUMMARIZECOLUMNS. In another function, for example ADDCOLUMNS, or in a measure, IGNORE returns an error. IGNORE inside another expression, such as IGNORE ( [Sales Amount] ) + 1, or inside CALCULATE, also returns an error.
IGNORE has one argument. The argument must return a single value. A table returns an error.
An ignored expression still returns its value in the rows that remain in the result.
If an expression that is not ignored returns BLANK for a row, SUMMARIZECOLUMNS removes the row. The ignored expressions do not change this. If all the expressions are ignored, SUMMARIZECOLUMNS returns all the combinations of the groupBy columns, also when all the expressions return BLANK.
» 1 related function
Examples
-- IGNORE tags a measure in SUMMARIZECOLUMNS to be ignored when
-- determining the non-blank rows.
EVALUATE
SUMMARIZECOLUMNS (
'Date'[Calendar Year],
"Amount", [Sales Amount]
)
EVALUATE
SUMMARIZECOLUMNS (
'Date'[Calendar Year],
"Amount", IGNORE ( [Sales Amount] )
)
| Calendar Year | Amount |
|---|---|
| CY 2007 | 11,309,946.12 |
| CY 2008 | 9,927,582.99 |
| CY 2009 | 9,353,814.87 |
| Calendar Year | Amount |
|---|---|
| CY 2005 | (Blank) |
| CY 2006 | (Blank) |
| CY 2007 | 11,309,946.12 |
| CY 2008 | 9,927,582.99 |
| CY 2009 | 9,353,814.87 |
| CY 2010 | (Blank) |
| CY 2011 | (Blank) |
-- IGNORE removes a measure from the check that hides the rows with BLANK.
-- Query 1: both columns count, so a year appears if Sales or Flag has a value.
-- Query 2: Sales is ignored, so only the year with a Flag value remains.
-- The ignored measure still returns its value in the rows that remain.
EVALUATE
SUMMARIZECOLUMNS (
'Date'[Calendar Year],
"Sales", [Sales Amount],
"Flag", IF ( SELECTEDVALUE ( 'Date'[Calendar Year] ) = "CY 2008", 1 )
)
ORDER BY 'Date'[Calendar Year]
EVALUATE
SUMMARIZECOLUMNS (
'Date'[Calendar Year],
"Sales", IGNORE ( [Sales Amount] ),
"Flag", IF ( SELECTEDVALUE ( 'Date'[Calendar Year] ) = "CY 2008", 1 )
)
ORDER BY 'Date'[Calendar Year]
| Calendar Year | Sales | Flag |
|---|---|---|
| CY 2007 | 11,309,946.12 | (Blank) |
| CY 2008 | 9,927,582.99 | 1 |
| CY 2009 | 9,353,814.87 | (Blank) |
| Calendar Year | Sales | Flag |
|---|---|---|
| CY 2008 | 9,927,582.99 | 1 |
Related articles
Learn more about IGNORE in the following articles:
-
Introducing SUMMARIZECOLUMNS
This article explains how to use SUMMARIZECOLUMNS, which is a replacement of SUMMARIZE and does not require the use of ADDCOLUMNS to obtain good performance. » Read more
-
The importance of star schemas in Power BI
Creating a star schema in Power BI is the best practice to improve performance and more importantly, to ensure accurate results! This article shows why a star schema can fix some of the issues in your report. » Read more
-
Using field parameters and calculation groups for conditional formatting
This article describes how to apply conditional formatting on measures picked from a slicer and implemented using two techniques: field parameters and calculation groups. » Read more
-
SUMMARIZECOLUMNS best practices
SUMMARIZECOLUMNS is a powerful and complex function in DAX that in 2025 can be used in measures. This article outlines the best practices when using this function to avoid incorrect results. » Read more
Related functions
Other related functions are:
Last update: Nov 26, 2026 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/en-us/dax/ignore-function-dax