Dashboard Mode - Excel data import
Dashboard Goal
This dashboard answers: "How can we analyze sales data imported from Excel to understand total sales and sales by product?"
This dashboard answers: "How can we analyze sales data imported from Excel to understand total sales and sales by product?"
| Order ID | Product | Quantity | Unit Price | Sales Date |
|---|---|---|---|---|
| 1001 | Notebook | 5 | 10 | 2024-01-10 |
| 1002 | Pen | 10 | 2 | 2024-01-11 |
| 1003 | Notebook | 3 | 10 | 2024-01-12 |
| 1004 | Marker | 7 | 3 | 2024-01-13 |
| 1005 | Pen | 15 | 2 | 2024-01-14 |
| 1006 | Marker | 2 | 3 | 2024-01-15 |
Total Sales = SUMX('Sales', 'Sales'[Quantity] * 'Sales'[Unit Price])Sales by Product = SUMX(FILTER('Sales', 'Sales'[Product] = EARLIER('Sales'[Product])), 'Sales'[Quantity] * 'Sales'[Unit Price])+----------------------+-----------------------+ | Total Sales | Sales by Product | | (KPI Card) | (Bar Chart) | +----------------------+-----------------------+ | Sales Data Table | +-------------------------------------------------+
A slicer on Product allows filtering all components by selected product(s). Selecting a product updates the Total Sales KPI and the Sales by Product chart to show only data for that product. The Sales Data Table also filters to show only relevant rows.
If you add a filter to select only Pen in the Product slicer, which components update and what is the new Total Sales value?
Answer: The Total Sales KPI updates to 50 (10*2 + 15*2). The Sales by Product chart shows only Pen with sales 50. The Sales Data Table shows only rows with Product = Pen.