Same Period Last Year
Part of the Time Intelligence section of Coddy's Power BI journey. Lesson 11 of 17.
SAMEPERIODLASTYEAR(Dates[Date]) moves the row's dates back one year.
Revenue LY = CALCULATE([Revenue], SAMEPERIODLASTYEAR(Dates[Date]))March 2025 shows March 2024. The rows of 2024 are blank: there is no 2023 data.
Challenge
Write Revenue LY: Revenue for the same dates one year earlier. It is checked for each month of each year.
All lessons in Time Intelligence
3Comparing Periods
Same Period Last YearGrowth Year over YearThe Month BeforeMonth over Month GrowthThe Last 7 DaysThe Last 3 MonthsRecap - Year to Date Growth