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).
Sales[Amount] mean in Excel?Sales[Amount] means the 'Amount' column inside the table named 'Sales'.Products[Price] is correct.=SUM(Products[Price]).Orders with a column Quantity containing values 2, 5, 3, what is the result of =SUM(Orders[Quantity])?=SUM(Sales[Amount] but it shows an error. What is the likely fix?=SUM(Sales[Amount]).Inventory with columns Item and Stock. You want to calculate total stock only for items named "Apple" using a formula with table references. Which formula is correct?=SUMIFS(Inventory[Stock], Inventory[Item], "Apple"), summing 'Stock' where 'Item' matches "Apple".Pass the test and this pattern moves unknown