PL-300 Visualize and analyze the data • Set 9
PL-300 Visualize and analyze the data Practice Test 9 — 15 questions with explanations. Free, no signup.
Refer to the exhibit. The DAX measure is intended to return the previous purchase amount for the same customer. However, it returns the current row's amount for most rows. What is the most likely reason?
Refer to the exhibit.
```dax
VAR LastDate = MAX('Sales'[OrderDate])
VAR PreviousDate = CALCULATE(MAX('Sales'[OrderDate]), ALLEXCEPT('Sales', 'Sales'[CustomerID]))
RETURN
CALCULATE(SUM('Sales'[Amount]), 'Sales'[OrderDate] = PreviousDate)
```