nerdexam
Microsoft

PL-300 · Question #25

You have a sales system that contains the tables shown in the following table. The Date table is marked as a date table. DateID is the date data type. You need to create an annual sales growth…

The correct answer is C. (SUN(sales[sales_amount]) - CALCULATE(SUM(sales[sales_amount]). SAMEPERIODLASTYEAR returns a table that contains a column of dates shifted one year back in time from the dates in the specified dates column, in the current context. https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax

Submitted by lucia.co· Apr 18, 2026Model the data

Question

You have a sales system that contains the tables shown in the following table. The Date table is marked as a date table. DateID is the date data type. You need to create an annual sales growth percentage measure. Which DAX expression should you use?

Exhibit

PL-300 question #25 exhibit

Options

  • ASUM(sales[sales_amount]) - CALCULATE(SUM(sales[sales_amount]),
  • BCALCULATE(SUM(sales[sales_amount]), DATESYTD('Date'[DatelD]))
  • C(SUN(sales[sales_amount]) - CALCULATE(SUM(sales[sales_amount]),
  • DCALCULATE(SUH(sales[sales_amount]), SAMEPERIODLASTYEAR('Date'[DatelD])

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    5% (1)
  • C
    73% (16)
  • D
    14% (3)

Explanation

SAMEPERIODLASTYEAR returns a table that contains a column of dates shifted one year back in time from the dates in the specified dates column, in the current context. https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax

Topics

#DAX#Time Intelligence#Measures#Sales Growth

Community Discussion

No community discussion yet for this question.

Full PL-300 Practice