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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
PassionBIdevlpr
New Member

Show fiscal year of today's date based on data model.

Hello community,

 

I want to show the fiscal year for today's date based on calendar data model.My fiscal year starts may 1st.I have data from 5/1/2017 to 4/30/2022.

My question is i want show fiscal year for today's date.

 

Answer is 2024.

 

How can i write dax for this problem.Thanks in advance

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @PassionBIdevlpr 

Add a new column using this DAX:

Fiscal Year Column = 
Var _A = MONTH('Table'[Date])
return
if(_A>4&&_A<=12,year('Table'[Date])+1,YEAR('Table'[Date]))

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

View solution in original post

1 REPLY 1
VahidDM
Super User
Super User

Hi @PassionBIdevlpr 

Add a new column using this DAX:

Fiscal Year Column = 
Var _A = MONTH('Table'[Date])
return
if(_A>4&&_A<=12,year('Table'[Date])+1,YEAR('Table'[Date]))

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.