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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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