0
0
Power BIbi_tool~8 mins

Dataflow entities in Power BI - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Dataflow entities
Business Question

How can we organize and reuse data preparation steps across multiple Power BI reports using dataflow entities?

Sample Data: Sales Transactions
TransactionIDCustomerIDProductQuantityPriceTransactionDate
1001C001Notebook252024-01-10
1002C002Pen1012024-01-11
1003C001Notebook152024-01-12
1004C003Folder532024-01-13
1005C002Pen712024-01-14
Dashboard Components
  • KPI Card: Total Sales Amount
    Formula: Total Sales = SUMX('Sales', 'Sales'[Quantity] * 'Sales'[Price])
    Result: 2*5 + 10*1 + 1*5 + 5*3 + 7*1 = 10 + 10 + 5 + 15 + 7 = 47
  • Table: Dataflow Entity: Sales Summary
    Description: This entity groups sales by Product and calculates total quantity and sales amount.
    Formula:
    Sales Summary = SUMMARIZE('Sales', 'Sales'[Product], "Total Quantity", SUM('Sales'[Quantity]), "Total Sales", SUMX(CURRENTGROUP(), 'Sales'[Quantity] * 'Sales'[Price]))
    Sample rows:
    Notebook - Quantity: 3, Sales: 15
    Pen - Quantity: 17, Sales: 17
    Folder - Quantity: 5, Sales: 15
  • Bar Chart: Sales Amount by Product
    X-axis: Product
    Y-axis: Total Sales (from Sales Summary entity)
Dashboard Layout
+----------------------+----------------------+
|      Total Sales      |  Sales Amount by     |
|       (KPI Card)      |     Product (Chart)  |
+----------------------+----------------------+
|          Sales Summary Table               |
+-------------------------------------------+
Interactivity

A slicer on Product filters the Sales Summary table and the Sales Amount by Product chart. The Total Sales KPI updates to show the sum for the selected product(s).

Self Check

If you add a filter to select only Product = Pen, which components update and what is the new Total Sales value?

Answer: The Sales Summary table shows only Pen rows, the bar chart shows sales for Pen only, and the Total Sales KPI updates to 17 (Quantity 17 * Price 1).

Key Result
Dashboard showing total sales, sales summary entity, and sales by product using dataflow entities.