Model shared ownership and reusable calculations
A bank needs balances by customer, but two customers can hold the same account.
Model shared ownership and reusable calculations
A bank needs balances by customer, but two customers can hold the same account. A report that allocates the full balance to each owner can have valid customer rows and an incorrect grand total. Decide what the total represents before writing the measure.
At 1:13:10 the speaker uses a bridge between customers and accounts. Draw the filter path, then decide whether a total represents distinct assets or allocated shares.
Work through the decision
An account with a balance of 90 has two owners. The customer rows each show 90. What should the bank display as total exposure?
Check your reasoning
Count each account’s balance once for exposure, so the total is 90. If the business wants attributed exposure, store an agreed allocation per association and validate its weights sum to one per account.
Continue in the recording · 1:06:23 · 1:17:35 · 1:20:58.
Decisions and tradeoffs
- Bridge with accountable filter direction
- Store one row per customer-account pair and verify that the intended filter path reaches accounts without creating an ambiguous second path.
- Composite model
- A composite model can combine a supported remote semantic model with additional local data.
- Import storage mode
- Import keeps a compressed local copy whose visible state depends on successful refresh.
- SUMX over order lines
- An iterator computes the quantity-price product for each visible line before summing the products.
- Calculation group
- Centralize reusable variations such as prior-year and year-to-date across compatible measures.
- Dynamic format string
- A dynamic format string changes presentation according to context while retaining the measure’s numeric type.
- Field parameter
- A field parameter lets the report reader switch the field or measure used by a visual.
Calculate a total at line grain
Two lines sell 2 units at 9 and 5 units at 4. Evaluate the expression at line grain before summing.
Sales amount =
SUMX(Sales, Sales[Quantity] * Sales[UnitPrice])
The correct total is 38. Multiplying aggregate quantity by the unweighted average price gives 45.5. Filtering to a single price can hide this mistake.
Practice each guide skill
Use these prompts in the order of the published guide. Microsoft bullet numbers here are local references.
- For the same fact choose among Import, DirectQuery and Direct Lake using freshness, capacity and source constraints.
- Set the fact grain and connect a unique product dimension. Prove a blank product does not silently drop revenue.
- Make a joint-account bridge. Test a single holder, both holders and the grand total.
- Use VAR to retain a subtotal, SUMX for line revenue and a window over ordered dates. Check ISINSCOPE at the subtotal.
- Create a time-intelligence calculation group, a currency format expression and a field parameter. Explain which changes the number, its display or its grouping.
- Evaluate a growing import model against capacity limits and enable large semantic model storage format where supported.
- Extend a governed remote model with local targets. Test relationship granularity and source-group behavior.
Official objectives for this lesson
Related lesson · Choose a batch ingestion and transformation path
Model shared ownership and reusable calculations quiz
Answer 3 questions. Check each answer for an explanation.