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?
SELECT clause do inside the QUERY function in Google Sheets?A | B | C 1 | 2 | 3 4 | 5 | 6 7 | 8 | 9
=QUERY(A1:C4, "SELECT B, C")?=QUERY(A1:C10, "SELECT A B") returns an error. What is the fix?Pass the test and this pattern moves unknown