0
0
Power BIbi_tool~8 mins

Data source and dataset in Power BI - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Data source and dataset
Goal

Understand where data comes from and how it is organized in Power BI to create reports.

Sample Data
OrderIDProductCategoryQuantityPriceOrderDate
1001NotebookStationery52.52024-01-10
1002PenStationery101.22024-01-11
1003ChairFurniture245.02024-01-12
1004DeskFurniture1120.02024-01-13
1005MarkerStationery71.52024-01-14
Dashboard Components
  • KPI Card: Total Sales
    Formula: Total Sales = SUMX('Sales', 'Sales'[Quantity] * 'Sales'[Price])
    Result: 5*2.5 + 10*1.2 + 2*45 + 1*120 + 7*1.5 = 12.5 + 12 + 90 + 120 + 10.5 = 245
  • Table: Sales by Category
    Formula: SUMX(FILTER('Sales', 'Sales'[Category] = EARLIER('Sales'[Category])), 'Sales'[Quantity] * 'Sales'[Price])
    Result:
    - Stationery: (5*2.5)+(10*1.2)+(7*1.5) = 12.5 + 12 + 10.5 = 35
    - Furniture: (2*45)+(1*120) = 90 + 120 = 210
  • Bar Chart: Sales by Product
    Shows total sales amount per product using the same calculation as Total Sales per product.
Dashboard Layout
+----------------------+----------------------+
|      Total Sales      |   Sales by Category   |
|       (KPI Card)      |       (Table)         |
+----------------------+----------------------+
|                  Sales by Product (Bar Chart)                 |
+--------------------------------------------------------------+
Interactivity

A slicer on Category filters all components. Selecting 'Stationery' updates Total Sales, Sales by Category table, and Bar Chart to show only stationery products.

Self Check

If you add a filter for Category = Furniture, which components update and what is the new Total Sales?

Answer: All components update. Total Sales becomes (2*45)+(1*120) = 210.

Key Result
Dashboard showing total sales, sales by category, and sales by product from a sample sales dataset.