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. Reference: https://docs.microsoft.com/en-us/dax/sameperiodlastyear-function-dax