Dashboard Mode - Why Power Query transforms messy data
Business Question
How can we clean and organize messy sales data to get clear monthly sales totals by product?
How can we clean and organize messy sales data to get clear monthly sales totals by product?
| Date | Product | Sales | Notes |
|---|---|---|---|
| 2024-01-05 | Apples | 100 | Delivered late |
| 01/15/2024 | Bananas | 200 | Good quality |
| 2024/02/10 | Apples | 150 | On time |
| Feb 20, 2024 | Bananas | 180 | Discount applied |
| 2024-03-01 | Apples | 120 | Returned items |
| 03/15/2024 | Bananas | 210 | Good quality |
| 2024-03-20 | Apples | 130 | On time |
+----------------------+----------------------+ | KPI Apples | KPI Bananas | +----------------------+----------------------+ | | | Monthly Sales Summary (Pivot) | | | +----------------------------------------------+ | | | Cleaned Data Table | | | +----------------------------------------------+
Adding a filter for Month lets you select a specific month. This updates the Monthly Sales Summary and KPI cards to show sales only for that month. The Cleaned Data Table always shows all cleaned data.
If you add a filter for Month = February, which components update and what sales totals do you see for Apples and Bananas?
Answer: The Monthly Sales Summary and KPI cards update. Apples sales show 150, Bananas sales show 180 for February.