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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
SAP4026
Frequent Visitor

Dax Formula for calculated column for fiscal year

Is there a DAX formula that can get me the following: I want to create three (3) columns, named FY20, FY21, and FY23, based on a table that have board start dates and board end dates. The data in the FY20, FY21 and FY23 columns should be based on the board end dates that fall within the date ranges of FY20, FY21, and FY23. If there's no end date that means they're a current board member. My table does not have a definition for FY20, FY21, and FY23. I don't want to use a filter or slicer. 

However, this how how I define FY20 = 7/1/2019 to 6/30/2020, FY21 = 7/1/2020 to 6/30/2021, and FY 23 = 7/1/2022 to 6/30/2023

I'd like my final data to look like this:

NameBoard Start DateBoard End DateFY20FY21FY23
Jane Doe1/1/1979 YesYesYes
John Doe1/1/199010/15/2022YesYesNo
C. Dee4/5/2023 NoNoYes
F. Smith5/30/202112/15/2021NoNoNo
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Not sure why you suppressed FY22 ?  Bad year?

 

lbendlin_0-1708135552945.png

See attached.

 

 

View solution in original post

3 REPLIES 3
SAP4026
Frequent Visitor

@lbendlin , thank you. How did you create the Dates table with the date ranges for the fiscal years?

You can see that from the Calculated Table definition.  I used EDATE to shift the months as needed. 

 

NOTE: This was just for the solution proposal. In real life I would never do that. I would use an external reference table where everything is precomputed.

lbendlin
Super User
Super User

Not sure why you suppressed FY22 ?  Bad year?

 

lbendlin_0-1708135552945.png

See attached.

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.