Menu
CoddyTech

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 icon

Challenge

Easy

Write 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 =
CategoryAll Categories
Coffee
Tea
Bakery
Merch
Total
Fields
  • Sales
    • Revenue
    • Total Units
    • Customers
  • Products
    • ProductID
    • Product
    • Category
    • UnitPrice
    • UnitCost
  • Stores
  • Customers
  • Dates
  • Targets

All lessons in DAX with CALCULATE