- A
Add an IF condition to check if prior year has any rows before computing growth
Ensures blank when prior year data is missing.
- B
Use DIVIDE with an alternative result of 0
Why wrong: Does not handle missing prior year data; may still compute incorrectly.
- C
Use ISBLANK to check the current year value
Why wrong: Does not address prior year missing data.
- D
Use COALESCE to replace blank with 0
Why wrong: Still may compute incorrect growth if prior year is empty.
Quick Answer
The answer is to add an IF condition that checks if the prior year has any rows before computing the growth. This is correct because when a year-over-year growth measure uses CALCULATE with SAMEPERIODLASTYEAR, the filter context can return a valid but empty table if no prior year data exists, causing DAX to evaluate the growth formula against a blank denominator or produce an incorrect percentage. By wrapping the calculation in IF(COUNTROWS(ALL(‘Date’)) > 0, ...), you explicitly test for the existence of prior year rows, ensuring the measure returns blank instead of a misleading value. On the PL-300 exam, this tests your understanding of context transition and row-level filtering in DirectQuery models, a common trap where candidates rely on DIVIDE or ISBLANK without checking row existence. Remember: if the prior year is missing, COUNTROWS is your friend—it checks for rows, not just values.
PL-300 Model the data Practice Question
This PL-300 practice question tests your understanding of model the data. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
You have a Power BI semantic model with a fact table 'Orders' and dimension tables 'Customer', 'Product', and 'Date'. The model uses DirectQuery against Azure Synapse. Users report that a measure calculating Year-over-Year growth returns incorrect values for the current year when no data exists for the prior year. Which DAX modification ensures the measure returns blank instead of an incorrect value?
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
Add an IF condition to check if prior year has any rows before computing growth
Option B is correct: Using IF(COUNTROWS(...) > 0, ...) checks if prior year data exists. Option A is wrong because DIVIDE with 0 denominator returns blank, but does not handle missing prior year rows. Option C is wrong because ISBLANK on a scalar value doesn't check row existence. Option D is wrong because COALESCE returns the first non-blank, but the issue is incorrect CALCULATE results when prior year is missing.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Add an IF condition to check if prior year has any rows before computing growth
Why this is correct
Ensures blank when prior year data is missing.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
Use DIVIDE with an alternative result of 0
Why it's wrong here
Does not handle missing prior year data; may still compute incorrectly.
- ✗
Use ISBLANK to check the current year value
Why it's wrong here
Does not address prior year missing data.
- ✗
Use COALESCE to replace blank with 0
Why it's wrong here
Still may compute incorrect growth if prior year is empty.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related PL-300 NAT questions on configuration and troubleshooting.
- →
Model the data — study guide chapter
Learn the concepts, then practise the questions
- →
Model the data practice questions
Targeted practice on this topic area only
- →
All PL-300 questions
966 questions across all exam domains
- →
Microsoft Power BI Data Analyst PL-300 study guide
Full concept coverage aligned to exam objectives
- →
PL-300 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PL-300 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Prepare the data practice questions
Practise PL-300 questions linked to Prepare the data.
Deploy and maintain assets practice questions
Practise PL-300 questions linked to Deploy and maintain assets.
Model the data practice questions
Practise PL-300 questions linked to Model the data.
Visualize and analyze the data practice questions
Practise PL-300 questions linked to Visualize and analyze the data.
Manage and secure Power BI practice questions
Practise PL-300 questions linked to Manage and secure Power BI.
PL-300 fundamentals practice questions
Practise PL-300 questions linked to PL-300 fundamentals.
PL-300 scenario practice questions
Practise PL-300 questions linked to PL-300 scenario.
PL-300 troubleshooting practice questions
Practise PL-300 questions linked to PL-300 troubleshooting.
Practice this exam
Start a free PL-300 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PL-300 question test?
Model the data — This question tests Model the data — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: Add an IF condition to check if prior year has any rows before computing growth — Option B is correct: Using IF(COUNTROWS(...) > 0, ...) checks if prior year data exists. Option A is wrong because DIVIDE with 0 denominator returns blank, but does not handle missing prior year rows. Option C is wrong because ISBLANK on a scalar value doesn't check row existence. Option D is wrong because COALESCE returns the first non-blank, but the issue is incorrect CALCULATE results when prior year is missing.
What should I do if I get this PL-300 question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related PL-300 NAT questions on configuration and troubleshooting.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
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: Jun 21, 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.