DAX code
Fiscal Quarter =
VAR FiscalYearStartMonth = 7
VAR ShiftedMonth = MOD(MONTH('Date'[Date]) - FiscalYearStartMonth, 12)
RETURN
"Q" & (INT(DIVIDE(ShiftedMonth, 3)) + 1)
Adds a fiscal quarter column (Q1–Q4) that lines up with a custom fiscal year start month.
Type your table and column names once. Every measure below updates.
Fiscal Quarter =
VAR FiscalYearStartMonth = 7
VAR ShiftedMonth = MOD(MONTH('Date'[Date]) - FiscalYearStartMonth, 12)
RETURN
"Q" & (INT(DIVIDE(ShiftedMonth, 3)) + 1)
Generate a Power BI date table
This is a calculated column on the Date table, not a measure. Keep FiscalYearStartMonth in sync with the Fiscal Year column.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Fiscal Quarter Column.