Menu
CoddyTech

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 icon

Challenge

Write Revenue LY: Revenue for the same dates one year earlier. It is checked for each month of each year.

bugsy Main icon

Start this challenge with Coddy's AI tutor

What is Bugsy?

All lessons in Time Intelligence