0
0
Power BIbi_tool~8 mins

Why data modeling connects related tables in Power BI - Dashboard Impact

Choose your learning style9 modes available
Dashboard Mode - Why data modeling connects related tables
Business Question

How can connecting related tables help us analyze sales data by product and region?

Sample Data
SaleIDProductIDRegionIDQuantitySaleAmount
110115500
210223300
310122200
410314400
510231100
ProductIDProductName
101Widget
102Gadget
103Doohickey
RegionIDRegionName
1North
2South
3East
Dashboard Components

KPI Card: Total Sales Amount

Formula: Total Sales = SUM(Sales[SaleAmount])

Result: 1500

Table: Sales by Product and Region

Uses relationships to show product names and region names with sales.

Columns: ProductName, RegionName, Total Quantity, Total Sales

Measures:

  • Total Quantity = SUM(Sales[Quantity])
  • Total Sales = SUM(Sales[SaleAmount])

Sample rows:

ProductNameRegionNameTotal QuantityTotal Sales
WidgetNorth5500
WidgetSouth2200
GadgetSouth3300
GadgetEast1100
DoohickeyNorth4400

Bar Chart: Sales Amount by Region

Shows total sales per region using the relationship to Region table.

Measure: Total Sales = SUM(Sales[SaleAmount])

Values:

  • North: 900
  • South: 500
  • East: 100
Dashboard Layout
+----------------------+----------------------+
|  KPI: Total Sales    |  Bar Chart: Sales by  |
|                      |  Region              |
+----------------------+----------------------+
|      Table: Sales by Product and Region          |
|                                                  |
+--------------------------------------------------+
Interactivity

Filters on ProductName or RegionName update the table and bar chart automatically because the tables are connected by relationships.

For example, selecting 'Widget' in a slicer filters the table and bar chart to show only sales for Widget.

Self Check

If you add a filter for RegionName = 'North', which components update?

  • The KPI card updates to show total sales only for North (900).
  • The table updates to show sales only for North region.
  • The bar chart updates to show sales only for North region (900).
Key Result
Dashboard shows total sales and detailed sales by product and region using connected tables.