Dashboard Mode - ALL function for removing filters
Business Question
How can we see total sales ignoring any filters applied on product categories?
How can we see total sales ignoring any filters applied on product categories?
| OrderID | ProductCategory | SalesAmount |
|---|---|---|
| 1 | Electronics | 100 |
| 2 | Clothing | 200 |
| 3 | Electronics | 150 |
| 4 | Furniture | 300 |
| 5 | Clothing | 250 |
Filtered Sales = SUM(Sales[SalesAmount])Total Sales = CALCULATE(SUM(Sales[SalesAmount]), ALL(Sales[ProductCategory]))+----------------------+-----------------------+ | Filtered Sales (KPI) | Total Sales (KPI) | +----------------------+-----------------------+ | Bar Chart (Sales by Category) | +------------------------------------------------------------+ | Table (Sales Details) | +------------------------------------------------------------+
A slicer on ProductCategory lets users filter the data.
The Filtered Sales KPI, bar chart, and table update to show only selected categories.
The Total Sales KPI uses ALL to ignore the slicer filter on ProductCategory, always showing total sales of 1000.
If you add a filter selecting only Clothing category, which components update and how?