DAX code
Previous Quarter Sales =
CALCULATE([Total Sales], DATEADD('Date'[Date], -1, QUARTER))
Calculates total sales for the quarter immediately before the one in the current filter context.
Type your table and column names once. Every measure below updates.
Previous Quarter Sales =
CALCULATE([Total Sales], DATEADD('Date'[Date], -1, QUARTER))
Generate a Power BI date table
Requires a continuous, marked Date table for DATEADD to work correctly.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Previous Quarter Sales.