Question 240
A Power BI team has selected this approach: Use DIVIDE with an appropriate alternate result rather than an unguarded slash. The original business context is: A rate calculation should return blank instead of a division error when TotalSales is zero. Which observation best indicates the requirement was met?
Explanation
Correct Answer
A zero-denominator context returns the documented blank or fallback instead of an error. It provides the required observation for the chosen implementation: Use DIVIDE with an appropriate alternate result rather than an unguarded slash. This test addresses the stated business constraint directly.
Incorrect Answers
The cumulative value resets at the calendar-year boundary. That check would be meaningful for the separate case: A finance report needs year-to-date revenue for a standard calendar-year business. It would not directly verify this scenario's selected implementation: Use DIVIDE with an appropriate alternate result rather than an unguarded slash.
Product percentages sum to the defined year-level total, not the all-years total. That check would be meaningful for the separate case: A manager wants each product's sales as a percentage of all products while retaining the selected year. It would not directly verify this scenario's selected implementation: Use DIVIDE with an appropriate alternate result rather than an unguarded slash.
Shipped totals change with the selected date range and exclude unshipped orders. That check would be meaningful for the separate case: A measure must count orders with Status = Shipped while still respecting a date slicer. It would not directly verify this scenario's selected implementation: Use DIVIDE with an appropriate alternate result rather than an unguarded slash.