Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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
Solved! Go to Solution.
Hi, @MYDATASTORY
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
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:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @MYDATASTORY
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
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:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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! |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
60 | |
60 | |
49 | |
45 |