# Why do Fabric joins sometimes inflate totals before aggregation?

Exam: DP-600 — Implementing Analytics Solutions Using Microsoft Fabric
Knowledge domain: Prepare data (45–50%)
Updated: 2026-11-19T05:35:25.117628+00:00
HTML: https://learningpathx.com/faq/DP-600/dp600-join-aggregation-overcount.html

## Also asked as

- How can I prevent an enrichment join from multiplying Fabric fact rows?
- What should I validate before aggregating joined data in Fabric?

A join inflates totals when one input row matches multiple rows that were expected to be unique. Aggregating afterward sums the multiplied records, so a plausible-looking result can still be wrong.

Declare each input's grain before joining. For a many-to-one enrichment, verify that the reference side has at most one applicable row per lookup key. If the reference preserves history, resolve the version valid at the event's effective time rather than joining only on the repeated business key.

Compare input and output row counts, inspect unmatched keys, and group the reference by its intended key to find multiple matches. Isolate ambiguous matches rather than arbitrarily choosing one. Validate known sample records and reconcile totals at the same scope before grouping.

An aggregation deliberately changes grain. State its grouping keys, the meaning of each measure, and how nulls are handled. Preserve trusted detail when consumers need to investigate totals. Fix the join or key-resolution rule upstream; adding DISTINCT to the final sum is not a general correction for duplicated business events.

[Fabric dimensional modeling](https://learn.microsoft.com/en-us/fabric/data-warehouse/dimensional-modeling-overview). [Fact grain and measure behavior](https://learn.microsoft.com/en-us/fabric/data-warehouse/dimensional-modeling-fact-tables).

Source: [DP-600: Transforming and Cleaning Data in Microsoft Fabric](https://learningpathx.com/news/dp-600-transforming-and-cleaning-data-in-microsoft-fabric.html)
