# Should I replace missing or null values with zero when cleaning Fabric data?

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

## Also asked as

- How should Fabric preparation distinguish null, empty, missing, and placeholder values?
- When is replacing null with zero an unsafe data-quality operation?

Replace a missing or null value with zero only when the business meaning explicitly supports that substitution. Zero is often an observed measurement, while null can mean unknown or not applicable.

Distinguish an absent source field, an empty string, a placeholder such as N/A, a database null, and a failed conversion. Define which conditions may be normalized and which must remain separate. For example, an unknown sale amount should not silently become a zero-value sale; that can distort averages and hide incomplete records.

If an approved rule imputes a value, retain a quality indicator when consumers must distinguish imputed from observed data. Route conversion failures or conflicting placeholders to a measured rejected-record path rather than turning every problem into an indistinguishable null.

Validate missing, explicit null, empty, placeholder, valid zero, and invalid-type cases in the selected engine. Compare accepted and rejected counts and inspect their effect on downstream sums, counts, and averages before publishing trusted data.

[Validated data layers](https://learn.microsoft.com/en-us/fabric/onelake/onelake-medallion-lakehouse-architecture). [Fabric data preparation](https://learn.microsoft.com/en-us/fabric/data-factory/dataflows-gen2-overview).

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