Rolling 12-month total (trailing twelve months)

Calculate trailing-twelve-month (TTM) sales with DATESINPERIOD, the seasonality-free trend line finance teams use instead of year-to-date.

You will learn to

  • Write a rolling 12-month (TTM) measure
  • Explain why a rolling year removes seasonality
  • Contrast a rolling year with year-to-date

How it works

The shop sells far more bikes in summer than in winter, so comparing June with January says more about the weather than about the business. A **rolling 12-month total** (also called TTM, “trailing twelve months”, or a moving annual total) fixes that: every point on the line contains exactly one of each calendar month.

Because each new month adds one month and drops the same month from a year earlier, the line only rises when this month beat the same month last year. That makes it one of the clearest growth signals you can put on a dashboard.

The pattern is the same as a rolling 3 months: `CALCULATE` with `DATESINPERIOD`, ending at the last visible date. Only the length of the window changes. Unlike year-to-date, it never resets in January.

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

Quantity R6M = CALCULATE([Total Quantity], DATESINPERIOD('Date'[Date], MAX('Date'[Date]), -6, MONTH))