0
0
Power BIbi_tool~10 mins

Visual-level filters in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Sales data for different fruits.

CellValue
A1Product
B1Sales
A2Apples
B2100
A3Bananas
B3150
A4Cherries
B4200
A5Dates
B550
Formula Trace
CALCULATE(SUM(Sales), Product IN {"Apples", "Bananas"})
Step 1: SUM(Sales)
Step 2: Product IN {"Apples", "Bananas"}
Step 3: CALCULATE(SUM(Sales), Filter)
Cell Reference Map
     A        B
  +-------+-------+
1 |Product| Sales |
  +-------+-------+
2 |Apples |  100  | <-- Included by filter
3 |Bananas|  150  | <-- Included by filter
4 |Cherries| 200  | <-- Excluded by filter
5 |Dates  |  50   | <-- Excluded by filter
  +-------+-------+
The filter uses the Product column to include only Apples and Bananas rows for the calculation.
Result
     A        B
  +-------+-------+
1 |Product| Sales |
  +-------+-------+
2 |Apples |  100  |
3 |Bananas|  150  |
  +-------+-------+

Total Sales (Filtered) = 250
The visual shows only Apples and Bananas sales summed to 250 after applying the visual-level filter.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the filter 'Product IN {"Apples", "Bananas"}' do?
AIncludes only Apples and Bananas rows
BIncludes all products except Apples and Bananas
CIncludes only Cherries and Dates
DIncludes all products
Key Result
CALCULATE(SUM(Column), FilterCondition) applies a filter to sum only selected rows.