Question 525 of 217
PL-300 Prepare the data Practice Question
You are connecting to a SQL Server database using Import mode. The source table contains a column 'SalesAmount' with a few null values. You need to replace nulls with 0 before loading. What is the most efficient step to achieve this in Power Query Editor?
⚠ Common exam trap
It's easy for candidates to confuse 'Replace Values' with 'Replace Errors' or think nulls are errors, leading them to choose Option B, but nulls are a distinct data type (absence of value) and require a dedicated null-replacement operation.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use 'Replace Values' to replace null with 0
'Replace Values' in Power Query Editor is the most efficient way to replace null values in a column with 0. It directly transforms the column in a single step without requiring additional logic or table scans, and it generates a clean M code step (Table.ReplaceValue) that operates natively on the column's nulls.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use 'Replace Values' to replace null with 0
Why this is correct
Replace Values is the correct, direct transformation because it performs an in-place, column-wise substitution of nulls with 0 in a single Power Query step. It targets the actual null placeholder (not an error) and is applied to all selected columns simultaneously, making it the most efficient and unambiguous method for this exact requirement.
- ✗
Use 'Replace Errors' with value 0
Why it's wrong here
Replace Errors is designed to handle error values such as #ERROR or custom error records that arise from data-loading or calculation failures, not nulls. Since nulls represent the intentional absence of a value rather than a malformed expression, this command will leave the null cells untouched, so the resulting column would still contain nulls instead of 0.
- ✗
Use 'Fill Down' to propagate previous values
Why it's wrong here
Fill Down is an imputation strategy that copies the most recent non-null value down to subsequent null cells, potentially producing a sequence of varying numbers rather than a uniform replacement with 0. This approach changes the data semantics by pulling values from unrelated rows and can be misleading if the prior value is not 0, whereas the requirement is a fixed substitution.
- ✗
Add a custom column with an if statement
Why it's wrong here
Adding a custom column with an if statement creates a new column (e.g., Column1 = if [Column] = null then 0 else [Column]) rather than modifying the original column, leaving the source data unchanged unless you also remove or overwrite it. This introduces an unnecessary extra column and M code, consuming more memory and steps than the single Replace Values command, which directly transforms the existing column in place.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jul 4, 2026
This PL-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-300 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.