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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
MYDATASTORY
Resolver I
Resolver I

How to create a Fiscal Year Calendar in Power BI

Hi ,

Kindly advice/help.

I have a  Date column I would like to convert to the Finacial year.   I would like to use the slice to select different financial year and  Month. Thanks in advance.

FY 2020-21==> Start from Feb to Jan

FY 2021-22 ==> Start from Feb to Jan

FY 2022-23==> Start from Feb to Jan

FY 2023-24==> Start from Feb to Jan

Example:

Date:              Finacial Year 

01/2/2020      FY 2020-21

02/3/2020     FY 2021-22

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @MYDATASTORY 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

c1.png

 

Calendar(a calculated table):

 

Calendar = CALENDARAUTO(1)

 

 

There is a relationship between two tables. You may create a calculated column in 'Calendar' table as below.

 

FY = 
var _year = YEAR([Date])
var _month = MONTH([Date])
return
IF(
    _month=1,
    "FY "&(_year-1)&"-"&_year,
    "FY "&_year&"-"&(_year+1)
)

 

 

Result:

c2.png

c3.png

 

Best Regards

Allan

 

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

 

View solution in original post

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @MYDATASTORY 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

c1.png

 

Calendar(a calculated table):

 

Calendar = CALENDARAUTO(1)

 

 

There is a relationship between two tables. You may create a calculated column in 'Calendar' table as below.

 

FY = 
var _year = YEAR([Date])
var _month = MONTH([Date])
return
IF(
    _month=1,
    "FY "&(_year-1)&"-"&_year,
    "FY "&_year&"-"&(_year+1)
)

 

 

Result:

c2.png

c3.png

 

Best Regards

Allan

 

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

 

CNENFRNL
Community Champion
Community Champion

Hi, @MYDATASTORY , there's a built-in func in DAX that might does the trick for you,

 

CALENDARAUTO ( [<FiscalYearEndMonth>] )

 

you can create a calendar table with FiscalYearEndMonth = 1 in your case.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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