Previous quarter sales with PREVIOUSQUARTER
Show the whole of last quarter’s sales next to the current period, and learn how PREVIOUSQUARTER differs from DATEADD.
You will learn to
- Return the full previous quarter with PREVIOUSQUARTER
- Explain why every month of a quarter shows the same value
- Choose between PREVIOUSQUARTER and DATEADD
How it works
`PREVIOUSQUARTER('Date'[Date])` looks at the **first visible date**, finds the quarter it belongs to, and returns every day of the quarter before. It is a table of dates, so it goes inside `CALCULATE` as a filter.
Because it always returns a **whole** quarter, every month inside a quarter shows the same number. April, May and June 2025 all show the total of January to March 2025, which makes it easy to ask “is this month on pace with last quarter?”
Compare `DATEADD('Date'[Date], -1, QUARTER)`: it shifts each visible day back three months, so May 2025 becomes February 2025, a single month. Same family, different question. When two functions could both be called “previous quarter”, the name of the function decides the numbers.
Practice it hands-on with a real data model and a live report that updates as you type.
Quantity Previous Month = CALCULATE([Total Quantity], PREVIOUSMONTH('Date'[Date]))