Explanation: Box 1: CALCULATE Box 2: 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://learn.microsoft.com/en-us/dax/sameperiodlastyear-function-dax