DAX code
Fiscal Previous Year Sales =
CALCULATE(
[Total Sales],
FILTER(ALL('Date'), 'Date'[Fiscal Year] = MAX('Date'[Fiscal Year]) - 1)
)
Calculates total sales for the entire previous fiscal year.
Type your table and column names once. Every measure below updates.
Fiscal Previous Year Sales =
CALCULATE(
[Total Sales],
FILTER(ALL('Date'), 'Date'[Fiscal Year] = MAX('Date'[Fiscal Year]) - 1)
)
Generate a Power BI date table
Depends on the Fiscal Year Column calculated column from this library existing on the Date table.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Fiscal Previous Year Sales.