Fiscal year-to-date last year with SAMEPERIODLASTYEAR

Compare fiscal YTD with the same point in the previous fiscal year by shifting the FYTD measure back a year with SAMEPERIODLASTYEAR.

You will learn to

  • Shift a fiscal YTD measure back one year
  • Explain why SAMEPERIODLASTYEAR needs no fiscal settings
  • Spot partial fiscal years in a comparison

How it works

To ask “are we ahead of last fiscal year at this point?”, you need **fiscal YTD last year**: in December 2025 that is July to December 2024.

You don’t need to rebuild the fiscal logic. Take the measure you already have, `[Sales FYTD]`, and evaluate it with the dates moved back a year: `SAMEPERIODLASTYEAR` shifts December 2025 to December 2024, and `[Sales FYTD]` then runs from 1 July 2024 to 31 December 2024. The year-end setting lives inside `[Sales FYTD]`, so SAMEPERIODLASTYEAR itself needs no fiscal settings.

Watch out for functions that **do** care about the year end. `PREVIOUSYEAR` without a year-end argument jumps to the previous **calendar** year, and a calendar `TOTALYTD` of last year’s sales resets in January, not July.

Practice it hands-on with a real data model and a live report that updates as you type.

Quantity YTD LY = CALCULATE(TOTALYTD([Total Quantity], 'Date'[Date]), SAMEPERIODLASTYEAR('Date'[Date]))