DAX Function Guide

ALL Function (DAX)
Empty image or helper icon

Sam McKay

CEO & Founder

How does the ALL Function (DAX) work?
The ALL function (DAX) returns all the rows in a table, or all the values of a column while ignoring any existing filter that might have been applied.
ALL Function (DAX) Formula Syntax

ALL(
     [<table | <column> [, <column> [, <column>[,…]]]]
)

How do you use the ALL Function (DAX)?

The purpose of this function is to remove the corresponding filter from the filter context and to make calculations on all the rows within a table. 

The argument to the ALL function must be either a reference to a base table or a base column. Table expressions or column expressions cannot be used with the ALL function. 

Related Blog Posts

Loading

Considerations when using the ALL Function (DAX)?

The ALL function cannot be used by itself. Instead, it is utilized as an intermediate function to change the results where some other calculation is being performed. For example, you can use ALL to remove all filters everywhere, to remove all filters from a specified table, or to remove all filters from specified columns in a table.   

Related Video Tutorials

Loading

Formula examples using the ALL Function (DAX)

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

= ALL (Customer)

Related Courses

Loading