In Power BI, a developer needs to create a measure that calculates total sales for the same period last year. Which DAX function should be used?
This function returns the same date range from the previous year.
Why this answer
SAMEPERIODLASTYEAR is a time intelligence function that returns dates from the previous year.