Study FAQ
When should a Fabric dimension use SCD Type 1 instead of Type 2?
Also asked as 2
- How should I decide whether a dimension attribute needs historical versions?
- What changes when I use Type 2 history rather than overwriting a Fabric dimension row?
Answer
Use Type 1 when reports should use the latest value or an attribute is being corrected. Use Type 2 when historical facts must retain the attribute value that applied at the relevant business time. Decide this per attribute rather than automatically historizing every change.
Type 1 updates the existing row. Correcting a misspelled name is a common example. Historical facts keep their key and therefore appear under the updated value; the previous classification is deliberately lost.
Type 2 closes the existing version and inserts a new row with a new surrogate key. Store bounded validity dates and a current indicator, or an equivalent explicit validity design. Facts resolve to the version valid for their documented effective-time rule. This supports questions such as revenue by the customer segment at the time of sale.
Test that validity ranges do not overlap for the same business key, current-row rules hold, and retries do not create extra versions. Late-arriving data must use the proper effective time. Retaining unnecessary Type 2 versions increases processing and analytical complexity without improving required historical answers.
Full explanation
DP-600: Dimensional Modeling for Fabric Lakehouses and Warehouses
Study guide · DP-600
Read the full explanation