exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 3 question 105 discussion

Actual exam question from Microsoft's PL-300
Question #: 105
Topic #: 3
[All PL-300 Questions]

You have a Power BI report that contains a clustered bar chart. The chart has an X-axis named Sales and a Y-axis named Year. The chart displays sales data for the years 2020 through 2024.

You need to create a visual calculation to show a cumulative total of sales that is equal to the sum of the current year's sales plus all the sales from the previous year.

Which DAX expression should you use?

  • A. MOVINGAVERAGE([Sales], 4)
  • B. RUNNINGSUM([Year])
  • C. CALCULATE ( [Sales], 'Date' [Year] <= MAX ( 'Date'[Year] ) )
  • D. RUNNINGSUM([Sales])
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Lulu_2022
1 month ago
Selected Answer: C
Why this works: This DAX expression creates a cumulative total by summing the current year’s sales plus all previous years — exactly what the question asks for. MAX('Date'[Year]) returns the current year in the filter context. 'Date'[Year] <= MAX('Date'[Year]) filters the table to include the current year and all earlier years. CALCULATE([Sales], ...) then evaluates the total sales over that filtered set. This is a classic running total pattern in DAX.
upvoted 1 times
...
raodeep81192
1 month, 1 week ago
Selected Answer: C
Correct answer should be C
upvoted 1 times
...
a2c7cd3
1 month, 2 weeks ago
Selected Answer: D
A visual calculation RUNNINGSUM is right
upvoted 1 times
...
Crayfish8566
1 month, 3 weeks ago
Selected Answer: C
answer is C. I tested in Power BI
upvoted 1 times
...
Koriza
1 month, 3 weeks ago
Selected Answer: C
None of the answers is correct as question asks us to include previous year, not years. C seems the closest to correct answer though
upvoted 1 times
...
225401f
1 month, 3 weeks ago
Selected Answer: D
I think D is the correct answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...