Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How do you add a Fiscal Year Column to a date table

 

@ links to members, content

I have a gift_date field in my table.  I created a calendar table with calendarauto(), how do I add a column with fiscal year to that calendar table?  My fiscal year starts in June and ends in July. 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Thanks for sharing @lbendlin , you can also try @Ashish_Mathur 's formula.

I have also create a simple sample, please refer to.

Create a column.

Fiscal Year =
VAR CurrentDate = 'Table'[Date]
VAR FiscalStartMonth = 6
RETURN
    IF (
        MONTH ( CurrentDate ) >= FiscalStartMonth,
        YEAR ( CurrentDate ) & "/"
            & YEAR ( CurrentDate ) + 1,
        YEAR ( CurrentDate ) - 1 & "/"
            & YEAR ( CurrentDate )
    )

vrongtiepmsft_0-1711420720216.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

Thanks for sharing @lbendlin , you can also try @Ashish_Mathur 's formula.

I have also create a simple sample, please refer to.

Create a column.

Fiscal Year =
VAR CurrentDate = 'Table'[Date]
VAR FiscalStartMonth = 6
RETURN
    IF (
        MONTH ( CurrentDate ) >= FiscalStartMonth,
        YEAR ( CurrentDate ) & "/"
            & YEAR ( CurrentDate ) + 1,
        YEAR ( CurrentDate ) - 1 & "/"
            & YEAR ( CurrentDate )
    )

vrongtiepmsft_0-1711420720216.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

Ashish_Mathur
Super User
Super User

Hi,

Write these calculated column formulas in the Calendar Table

Month number = month(Calendar[Date])

Financial year = if(Calendar[Month number]>=7,year(calendar[date])&" "&year(calendar[date])+1,year(calendar[date])-1&" "&year(calendar[date]))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

Don't use CALENDAR, and for sure don't use CALENDARAUTO. There is no point in doing this in DAX or Power Query, as the date information will not change and does not need to be recomputed on each semantic model refresh.

 

Create an external reference table that has all your fiscal date attributes.  Connect that table to your data model.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors