cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
UK_User123456 Resolver I
Resolver I

Financial Year

Hi All,

 

How would I go about finding out the Finanacial years based on a date. My financial reporting starts on the 4th Apr and ends 31st Mar. I have a column of dates that range from 2001 to 2019, I just need to be able to find which FY dates they fall into.

 

e.g.

 

02/04/2018 would fall into FY 18/19

 

TIA

1 ACCEPTED SOLUTION

Accepted Solutions
evandrocunico Resolver III
Resolver III

Re: Financial Year

Hi, @UK_User123456 

 

FY = var __fy = if(ISBLANK(DimDate[Date]);BLANK(); if (MONTH(DimDate[Date]) >= 4; YEAR(DimDate[Date])&"/"&YEAR(DimDate[Date])+1;YEAR(DimDate[Date])-1&"/"&YEAR(DimDate[Date])))
return __fy
 
regards.

View solution in original post

3 REPLIES 3
evandrocunico Resolver III
Resolver III

Re: Financial Year

Hi, @UK_User123456 

Create a new column:

 

FY = var __fy = if (MONTH(DimDate[Date]) >= 4; YEAR(DimDate[Date])&"/"&YEAR(DimDate[Date])+1;YEAR(DimDate[Date])-1&"/"&YEAR(DimDate[Date]))
return __fy
 
FY.JPG
regards.
Highlighted
UK_User123456 Resolver I
Resolver I

Re: Financial Year

Hi, 

 

Many thanks for this, works great, but how do I apply return blank if there is no gift date?

 

TIA

evandrocunico Resolver III
Resolver III

Re: Financial Year

Hi, @UK_User123456 

 

FY = var __fy = if(ISBLANK(DimDate[Date]);BLANK(); if (MONTH(DimDate[Date]) >= 4; YEAR(DimDate[Date])&"/"&YEAR(DimDate[Date])+1;YEAR(DimDate[Date])-1&"/"&YEAR(DimDate[Date])))
return __fy
 
regards.

View solution in original post

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors