ALL Removes Filters
Part of the DAX with CALCULATE section of Coddy's Power BI journey. Lesson 6 of 24.
ALL(Table) inside CALCULATE removes every filter on that table.
All Categories = CALCULATE([Revenue], ALL(Products))Each category bar loses its filter, so every bar shows the total of all categories.
Filters on other tables, like a year slicer, stay.
Challenge
EasyWrite All Categories: Revenue with every filter on Products removed. It is checked for each category, so every row shows the same total.
Try it yourself
All Categories =| Category | All Categories |
|---|---|
| Coffee | |
| Tea | |
| Bakery | |
| Merch | |
| Total |
- Sales
- Revenue
- Total Units
- Customers
- Products
- ProductID
- Product
- Category
- UnitPrice
- UnitCost
- Stores
- Customers
- Dates
- Targets
All lessons in DAX with CALCULATE
2Removing Filters
ALL Removes FiltersPercent of TotalRemoving One FilterKeep One Filter: ALLEXCEPTShare of What Is ShownRecap - Store Share in 2025