Dashboard Mode - Star schema concept
Business Question
How can we organize sales data to easily analyze total sales by product, region, and time?
How can we organize sales data to easily analyze total sales by product, region, and time?
| SaleID | ProductID | RegionID | DateID | SalesAmount |
|---|---|---|---|---|
| 1 | 101 | 201 | 301 | 100 |
| 2 | 102 | 202 | 302 | 200 |
| 3 | 101 | 201 | 302 | 150 |
| 4 | 103 | 203 | 303 | 300 |
| 5 | 102 | 202 | 301 | 250 |
| ProductID | ProductName | Category |
|---|---|---|
| 101 | Pen | Stationery |
| 102 | Notebook | Stationery |
| 103 | Chair | Furniture |
| RegionID | RegionName |
|---|---|
| 201 | East |
| 202 | West |
| 203 | North |
| DateID | Date | Month | Year |
|---|---|---|---|
| 301 | 2024-01-01 | January | 2024 |
| 302 | 2024-02-01 | February | 2024 |
| 303 | 2024-03-01 | March | 2024 |
Total Sales = SUM(Sales[SalesAmount])SUM(Sales[SalesAmount]) grouped by Product[ProductName]SUM(Sales[SalesAmount]) grouped by Region[RegionName]SUM(Sales[SalesAmount]) grouped by Date[Month]+----------------+---------------------+ | Total Sales | Sales by Product | | (KPI) | (Bar Chart) | +----------------+---------------------+ | Sales by Region (Pie Chart) | +---------------------------------------+ | Sales by Month (Table) | +---------------------------------------+
Filters on Product Category, Region Name, and Year allow users to select specific categories, regions, or years. When a filter is applied, all components update to show sales data only for the selected items. For example, selecting Category = 'Stationery' updates the KPI, bar chart, pie chart, and table to show sales only for Pens and Notebooks.
If you add a filter for Region = West, which components update and what sales amounts do they show?