Dashboard Mode - WHERE clause for filtering
Goal
Find sales records only for the East region to see how that area is performing.
Find sales records only for the East region to see how that area is performing.
| Order ID | Region | Sales | Month |
|---|---|---|---|
| 1001 | East | 200 | Jan |
| 1002 | West | 150 | Jan |
| 1003 | East | 300 | Feb |
| 1004 | South | 400 | Feb |
| 1005 | East | 250 | Mar |
| 1006 | West | 100 | Mar |
=FILTER(A2:D7, B2:B7 = "East")=SUM(FILTER(C2:C7, B2:B7 = "East"))=AVERAGE(FILTER(C2:C7, B2:B7 = "East"))+-------------------------+------------------+ | Filtered Sales Table | Total Sales (KPI) | | (Filtered by East) | Value: 750 | +-------------------------+------------------+ | Average Sales (KPI) | | | Value: 250 | | +-------------------------+------------------+
If you change the region in the filter formula (for example, from "East" to "West"), all components update automatically:
Change the filter in the formula to "West". Which rows appear in the filtered table? What is the new total sales value?
Answer: Rows with Order ID 1002 and 1006 appear. Total sales is 150 + 100 = 250.