Question 513 of 966
Prepare the datahardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to create a separate date table and use the TOTALYTD function in a measure. This is correct because Power BI’s time intelligence functions, including TOTALYTD, require a continuous date table that is marked as a date table to operate properly; without it, the function cannot resolve the date hierarchy needed for accurate running totals. On the PL-300 exam, this question tests your understanding of best practices for model optimization—while it may seem counterintuitive to add a table to minimize size, a dedicated date table is actually more efficient than using calculated columns or complex row-context iterations within a large transactional table. A common trap is assuming you can skip the date table to save space, but that leads to bloated, slow measures. Memory tip: “Time needs a timeline”—always mark a continuous date table for any running total DAX measure without a date table alternative.

PL-300 Prepare the data Practice Question

This PL-300 practice question tests your understanding of prepare 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 are working with a large dataset in Power BI that contains sales transactions. You need to create a measure that calculates the running total of sales over time. However, the data model does not include a separate date table, and you want to minimize the model size. What is the most efficient approach?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Question 1hardmultiple choice
Full question →

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

Create a separate date table and use the TOTALYTD function in a measure.

Option A is correct because creating a separate date table and using TOTALYTD leverages Power BI's time intelligence functions, which require a continuous date table marked as a date table. This approach is efficient because time intelligence functions are optimized for performance and minimize model size by avoiding calculated columns or complex row-context iterations. Without a date table, TOTALYTD cannot function correctly, as it relies on a proper date hierarchy.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a separate date table and use the TOTALYTD function in a measure.

    Why this is correct

    Best practice for performance and time intelligence.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Write a measure using VAR and FILTER with ALL to compute running total.

    Why it's wrong here

    This is less efficient than using a date table.

  • Create calculated columns for Year and Month, then use SUMX with FILTER.

    Why it's wrong here

    Calculated columns increase model size.

  • Use the EARLIER function in a calculated column to compute running total.

    Why it's wrong here

    EARLIER is inefficient for large datasets.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Microsoft often tests the misconception that time intelligence functions like TOTALYTD can work without a separate date table, or that calculated columns are more efficient than measures for running totals, leading candidates to choose options that increase model size or degrade performance.

Detailed technical explanation

How to think about this question

Under the hood, Power BI's time intelligence functions like TOTALYTD use a built-in date table and a calendar-aware engine that pre-aggregates data at the date granularity, enabling fast DAX queries without row-by-row iteration. A subtle behavior is that the date table must be marked as a date table in the model view, and it must have a continuous date range covering all transaction dates; otherwise, TOTALYTD may return incorrect results. In a real-world scenario, using a separate date table also enables easy switching between fiscal and calendar years without recalculating measures.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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.

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?

Prepare the data — This question tests Prepare the data — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Create a separate date table and use the TOTALYTD function in a measure. — Option A is correct because creating a separate date table and using TOTALYTD leverages Power BI's time intelligence functions, which require a continuous date table marked as a date table. This approach is efficient because time intelligence functions are optimized for performance and minimize model size by avoiding calculated columns or complex row-context iterations. Without a date table, TOTALYTD cannot function correctly, as it relies on a proper date hierarchy.

What should I do if I get this PL-300 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

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.

Loading comments…

Sign in to join the discussion.

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.