ALL used as a filter argument is filter modifier.
It removes the filter on its argument.
When the argument is a table, it removes the filter over the entire expanded table (the table specified as argument).
Whent the argument is one or more columns, it removes the filters over the specified columns.
Filter removals happen during the fourth step in the CALCULATE
execution, after the context transition and before the expression evaluation
The explanation of the CALCULATE
execution step can be found in the DAX Guide
In the Measure 1, all filters are removed from the 'Product'
table.
In the Measure 2, only the filter existing over 'Product'[Name]
is removed
In recent DAX verisions, when used as a filter modifier, ALL
can be replaced by REMOVEFILTERS
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…