Study FAQ
How should I remove duplicates without losing valid Fabric business events?
Also asked as 2
- Why is Remove Duplicates not enough for a Fabric cleansing rule?
- What makes deduplication deterministic and safe to rerun in Fabric?
Answer
Define what makes a business event unique and which record wins before removing duplicates. Identical-row removal alone cannot decide whether repeated events are legitimate or which conflicting version is authoritative.
Specify a stable event or business key, an authoritative update time or sequence, and an explicit tie rule. For example, two versions of the same source event may be resolved by a source-issued version number. Two separate purchases with equal customer, amount, and date may both be valid and should not be collapsed merely because selected columns match.
Implement the rule in the chosen preparation engine, retain rejected or superseded evidence where needed, and quarantine unresolved conflicts. Do not choose an arbitrary first row when ordering is not guaranteed.
Validate with exact duplicates, conflicting versions, tied precedence values, late arrivals, and valid repeated events. Rerun the same input and confirm that the accepted output and conflict counts remain stable. These checks verify the business rule; an activity finishing successfully does not establish safe deduplication.
Power Query-based preparation. Raw and validated preparation layers.
Full explanation
DP-600: Transforming and Cleaning Data in Microsoft Fabric
Study guide · DP-600
Read the full explanation