Dashboard Mode - Table references in formulas
Dashboard Goal
See total sales and average sales per product using Excel table references in formulas.
See total sales and average sales per product using Excel table references in formulas.
| Product | Region | Sales |
|---|---|---|
| Apples | East | 100 |
| Bananas | West | 150 |
| Apples | West | 200 |
| Bananas | East | 120 |
| Cherries | East | 90 |
| Cherries | West | 110 |
=SUM(SalesData[Sales])=AVERAGE(SalesData[Sales])=SUMIFS(SalesData[Sales], SalesData[Product], [@Product])
+----------------------+-------------------------+
| Total Sales (KPI) | Average Sales (KPI) |
| 770 | 128.33 |
+----------------------+-------------------------+
| Sales by Product Table |
| +----------+------------+----------------+ |
| | Product | Region | Sales Total | |
| +----------+------------+----------------+ |
| | Apples | (from data)| 300 | |
| | Bananas | (from data)| 270 | |
| | Cherries | (from data)| 200 | |
+--------------------------------------------+
Adding a filter for Region will update all components to show sales only for the selected region. The total sales, average sales, and sales by product will recalculate based on the filtered table data.
If you add a filter to show only Region = East, which components update and what will the new total sales be?
Answer: All components update. Total sales become 310 (100 + 120 + 90).