Dashboard Mode - Relationships (one-to-many, many-to-many)
Business Question
How can we connect sales data with product and customer details using relationships to analyze total sales by product category and customer region?
How can we connect sales data with product and customer details using relationships to analyze total sales by product category and customer region?
| SaleID | ProductID | CustomerID | Quantity | SaleAmount |
|---|---|---|---|---|
| 1 | 101 | 201 | 2 | 200 |
| 2 | 102 | 202 | 1 | 150 |
| 3 | 103 | 201 | 3 | 450 |
| 4 | 101 | 203 | 1 | 100 |
| 5 | 104 | 204 | 5 | 500 |
| ProductID | ProductName | Category |
|---|---|---|
| 101 | Chair | Furniture |
| 102 | Desk | Furniture |
| 103 | Lamp | Lighting |
| 104 | Pen | Stationery |
| CustomerID | CustomerName | Region |
|---|---|---|
| 201 | Alice | East |
| 202 | Bob | West |
| 203 | Charlie | East |
| 204 | Diana | North |
Total Sales = SUM(Sales[SaleAmount])Total Sales = SUM(Sales[SaleAmount])Total Sales = SUM(Sales[SaleAmount])+----------------------+-------------------------+ | KPI Card | Bar Chart | | Total Sales Amount | Sales by Product Cat. | | (1400) | | +----------------------+-------------------------+ | Table: Sales by Customer Region | | Region | Total Sales | | East | 750 | | West | 150 | | North | 500 | +----------------------------------------------------+
Filters on Product Category or Customer Region will update all components:
If you add a filter for Region = East, which components update and what are their new values?