Dashboard Mode - SELECT clause
Dashboard Goal
Show a list of products and their sales amounts using the SELECT clause in the QUERY function.
Show a list of products and their sales amounts using the SELECT clause in the QUERY function.
| Product | Category | Sales | Region |
|---|---|---|---|
| Apples | Fruit | 100 | East |
| Bananas | Fruit | 150 | West |
| Carrots | Vegetable | 200 | East |
| Dates | Fruit | 120 | South |
| Eggplants | Vegetable | 180 | West |
=QUERY(A1:D6, "SELECT Col1, Col3", 1)=SUM(C2:C6)+---------------------+-----------------+ | Product Sales Table | Total Sales | | (SELECT Col1, Col3) | (SUM C2:C6) | +---------------------+-----------------+
Adding a filter for Category or Region will update the Product Sales Table and Total Sales to show only matching rows.
If you add a filter to show only Category = 'Fruit', which products appear in the Product Sales Table and what is the new Total Sales?