Dashboard Mode - Joining tables
Business Question
How can we combine customer information with their sales data to analyze total sales per customer?
How can we combine customer information with their sales data to analyze total sales per customer?
| CustomerID | Name | Region |
|---|---|---|
| 1 | Alice | North |
| 2 | Bob | South |
| 3 | Charlie | East |
| 4 | Diana | West |
| SaleID | CustomerID | Amount |
|---|---|---|
| 101 | 1 | 100 |
| 102 | 2 | 200 |
| 103 | 1 | 150 |
| 104 | 3 | 300 |
| 105 | 4 | 250 |
SUM([Amount])Customers.CustomerID = Sales.CustomerIDSUM([Amount]) grouped by Name and Region| Name | Region | Total Sales |
|---|---|---|
| Alice | North | 250 |
| Bob | South | 200 |
| Charlie | East | 300 |
| Diana | West | 250 |
+----------------------+----------------------+ | Total Sales | Sales by Customer | | (KPI Card) | (Table) | +----------------------+----------------------+ | Sales Amount by Region (Bar Chart) | +-------------------------------------------------------+
Adding a filter on Region will update the Sales by Customer table and the Sales Amount by Region bar chart to show only customers and sales from the selected region(s). The Total Sales KPI card will also update to reflect the sum of sales in the filtered region(s).
If you add a filter for Region = East, which components update and what data do they show?