DAX code
Fiscal YTD Sales =
CALCULATE([Total Sales], DATESYTD('Date'[Date], "6/30"))
Calculates year-to-date sales based on a custom fiscal year end instead of the calendar year.
Type your table and column names once. Every measure below updates.
Fiscal YTD Sales =
CALCULATE([Total Sales], DATESYTD('Date'[Date], "6/30"))
Generate a Power BI date table
Change "6/30" to your fiscal year end date; depends on the Fiscal Year Column from this library for labeling.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Fiscal YTD Sales.