ALL DAX Function (Filter)

Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied.


ALL ( [<TableNameOrColumnName>] [, <ColumnName> [, <ColumnName> [, … ] ] ] )
Parameter Attributes Description
TableNameOrColumnName Optional

The name of an existing table or column.

ColumnName Optional

A column in the same base table. The column can be specified in optional parameters only when a column is used in the first argument, too.

Return values

Table An entire table or a table with one or more columns.


This function removes the corresponding filters from the filter context, just as REMOVEFILTERS does. It does not materialize the resulting table when called directly in a filter argument of CALCULATE or CALCULATETABLE .

ALL can be used as a table expression when it has at least one argument.
ALL without arguments can be used only as a CALCULATE or CALCULATETABLE modifier and removes all the filters from the filter context.

The following remarks are valid using ALL as a table expression:

  • Using a table argument, ALL returns all the rows of the table including any duplicated rows.
  • Using a single column argument, ALL returns all the unique values of the column.
  • Using two or more columns arguments, ALL returns all the unique combinations of values in multiple columns.
  • In every case, ALL includes in the result the additional blank row generated for invalid relationships.


The ALL function can be applied to either a table or a set of columns.

ALL ( Customer )

ALL ( Customer[Country], Customer[State] , Customer[City] )

Related articles

Learn more about ALL in the following articles:

Related functions

Other related functions are:

Last update: Nov 21, 2020   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

MSDN documentation:

Cyber Monday
2018-2020 © SQLBI. All rights are reserved. Information coming from MSDN is property of Microsoft Corp. » Contact us   » Privacy Policy & Cookies

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.


Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.


This function is deprecated. Jump to the Alternatives section to see the function to use.


This parameter is deprecated and its use is not recommended.

DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.


Want to improve the content of ALL? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.