Enterprise capstone design
Define the business contract
A professional BI capstone begins with decisions that can be independently tested, rather than a visually impressive dashboard. Northstar Retail is fictional; the portfolio covers two months, two regions and two products. The executive asks whether revenue meets budget; finance asks whether gross profit is sustainable; regional managers need only authorized rows. Use labs/professional-capstone/README.md and the six CSV fixtures. All values are integer USD cents. No cloud resources or credentials are needed.
Architecture and storage decision
Raw sales -> typed validation and quarantine -> accepted sales fact -> Import semantic model -> executive, detail and finance reports. Keep Budget separate, one row per region/month. DimMonth and DimRegion filter both facts; DimProduct filters only Sales. The month-only source cannot support day-level claims. Import is a provisional choice for a small curated snapshot, subject to a 30-minute freshness objective; DirectQuery or Direct Lake would require different source and capacity evidence. The model diagram and policy JSON are design artifacts, not deployed configuration.
Example 1 — count the raw-to-curated journey
The raw file contains 11 rows: S2 is an exact repeat, S7 has an unknown product, S8 has a malformed amount, and S9 has two different payloads for the same line ID. Keep one S2; quarantine S7, S8 and both S9 variants. Expected: 6 accepted + 4 rejected + 1 exact replay = 11 input rows. Rejecting both conflicting variants prevents a nondeterministic selection from quietly changing revenue.
Example 2 — prevent budget multiplication
January North has two accepted lines with $100 and $50 revenue and a single $140 budget. A join on month/region repeats $140 twice and misleadingly reports $280 budget. The correct variance is $150 − $140 = $10. Across the entire model, use two facts filtered by shared dimensions and never sum a budget copied onto detail rows. A product filter must return blank for budget rather than implying an allocation.
Common mistakes and constraints
Do not confuse grain with a primary key name, an exact replay with a conflicting duplicate, a report filter with authorization, or an Import refresh plan with measured freshness. Define ownership: data engineering owns row quality, finance owns the dictionary, security owns roles, operations owns recovery. Use source-side permissions independent of model RLS. Do not claim real certification or deploy the hypothetical organization.
Practice and references
Draw the model from model.md, write the two fact grains and predict the raw/accepted/rejected reconciliation. Explain why a product-level budget must be blank. Inspect Microsoft guidance on star schema and error handling. Next: implement and reconcile the artifacts. Native M/DAX not run.