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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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