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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Financial year Dax

Hi,

 

I need the DAX formulas for my Custom Financial year.

 

I have a change in my financial year

From 2015-2020, Eg: my financial year is Dec 2015 - Nov 2016 and dax formula should have to display like FY 2016

 

From 2021 my financial year starts from Jan 2021 - Dec 2021 and dax formula should have to display like FY 2021

 

 

Thanks

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , In you date table have this- New column

FY = "FY " &  year(Endofyear([Date], "11/30")) // Refer: https://www.youtube.com/watch?v=LbstAOFD2Vo

or

FY = "FY " &  year(Endofyear([Date], "12/31"))

 

put a if condition to check year and shift between

 

Creating Financial Calendar - From Any Month (All 12 months calendar)
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

With all credit to @amitchandak  reply.

 

What will be FY for Dec 2020 ? Assuming it will be FY 2021.

 

FY = 
if ('Date'[Year] <= 2021,
"FY " &  year(Endofyear('Date'[Date], "11/30")),
"FY " &  year(Endofyear('Date'[Date], "12/31"))
)

 

Please find solution attached.

 

View solution in original post

2 REPLIES 2
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

With all credit to @amitchandak  reply.

 

What will be FY for Dec 2020 ? Assuming it will be FY 2021.

 

FY = 
if ('Date'[Year] <= 2021,
"FY " &  year(Endofyear('Date'[Date], "11/30")),
"FY " &  year(Endofyear('Date'[Date], "12/31"))
)

 

Please find solution attached.

 

amitchandak
Super User
Super User

@Anonymous , In you date table have this- New column

FY = "FY " &  year(Endofyear([Date], "11/30")) // Refer: https://www.youtube.com/watch?v=LbstAOFD2Vo

or

FY = "FY " &  year(Endofyear([Date], "12/31"))

 

put a if condition to check year and shift between

 

Creating Financial Calendar - From Any Month (All 12 months calendar)
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End 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.