Reconcile accepted and rejected data
Reconciliation is an accounting of changes
Record the source row count, accepted row count, quarantine count, metric total and reasons for differences. For this fixture, each source row receives exactly one disposition. Nine raw sales rows = five accepted + four quarantined. The accepted data must match the original clean sales dataset, not just its revenue total. Keep the quarantined records for correction and do not publish a misleading complete-data claim.
Example 1: explain a join that inflates revenue
A join matches records by a key. A left outer join preserves each left row and retrieves its right-side matches; expanding multiple matches repeats the left row. Joining the five clean Sales rows to the clean three-row Products table by ProductKey yields five rows and 200 USD. Joining to the four-row dirty Products table yields seven rows: L01 and L03 each match two P01 records. Their combined revenue of 24 + 36 = 60 USD is counted a second time, producing 260 USD. This is an offline tabular prediction, not native Power Query output. Do not fix the inflated total by arbitrarily deleting fact rows. Resolve the conflicting product key first. A model relationship is not the same operation as a materialized join.
Example 2: reconcile exclusions and filters
The dirty sales file has eight rows with numeric quantity and price; their arithmetic sum is 282 USD (including the repeated L05: 60, unknown-product L06: 10 and bad-date L07: 12). L08 has unknown revenue, so 282 USD is a known-value subtotal, not valid raw total revenue. Subtract those three known rejected amounts, 82 USD, to reconcile to the accepted 200 USD. Record L08 separately as one unknown amount. Filtering accepted rows to North gives three lines and 104 USD; South gives two lines and 96 USD. The partition reconciles to five lines and 200 USD. A filtered view does not delete source rows.
Currency and business-date boundaries
The fixture uses USD and date-only Gregorian business dates; no timezone conversion applies. In another source, 100 USD plus 100 EUR is not 200 USD. For illustration, if a documented rate is 1.10 USD per EUR, the converted total is 210 USD; this is hypothetical, not a current exchange rate. Keep original currency, conversion date, rate and rounding policy. A timestamp of 2026-01-06 23:30 UTC is 2026-01-07 01:30 in a fixed UTC+02:00 reporting offset; grouping by business date can change the daily total. A real named timezone may change offset across dates. Agree on the reporting calendar before calculating daily metrics.
Common mistakes and practice
Matching totals alone can conceal offsetting errors. Reconcile unique IDs, count, known-value totals and unknown counts as well. Complete the offline lab in labs/grain-quality/: classify raw rows, predict clean and dirty product join counts and totals, and report North and South with the correct units. Stop release if a check fails; do not silently drop rows. The accepted subset is for the synthetic lab, not proof that omitted events never occurred.
Official reading
Merge queries · Left outer join · Star schema. Native M and relationship execution NOT RUN.