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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.