0
0
Power BIbi_tool~10 mins

Composite models in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows product sales data loaded from a DirectQuery source.

CellValue
A1ProductID
B1ProductName
C1SalesAmount
A2101
B2Chair
C2150
A3102
B3Table
C3300
A4103
B4Lamp
C4120
Formula Trace
Total Sales = SUM(Sales[SalesAmount]) + SUM(ImportedSales[SalesAmount])
Step 1: SUM(Sales[SalesAmount])
Step 2: SUM(ImportedSales[SalesAmount])
Step 3: 570 + 430
Cell Reference Map
    A       B           C
1 ProductID ProductName SalesAmount
2 101       Chair       150
3 102       Table       300
4 103       Lamp        120

ImportedSales Table (not shown in cells) has SalesAmount: 200, 230

Formula uses Sales[SalesAmount] and ImportedSales[SalesAmount]
The formula references Sales table's SalesAmount column (shown in cells) and ImportedSales table's SalesAmount column (imported data not shown in this grid).
Result
    D
1 Total Sales
2 1000
The calculated measure 'Total Sales' shows the combined sales amount from both DirectQuery and imported tables, totaling 1000.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the formula 'SUM(Sales[SalesAmount])' calculate?
ASum of sales amounts from the DirectQuery Sales table
BSum of sales amounts from the imported ImportedSales table
CSum of product IDs
DCount of sales records
Key Result
Composite models combine data from DirectQuery and imported tables by summing measures from both sources.