Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello community,
I want to show the fiscal year for today's date based on calendar data model.My fiscal year starts may 1st.I have data from 5/1/2017 to 4/30/2022.
My question is i want show fiscal year for today's date.
Answer is 2024.
How can i write dax for this problem.Thanks in advance
Solved! Go to Solution.
Hi @PassionBIdevlpr
Add a new column using this DAX:
Fiscal Year Column =
Var _A = MONTH('Table'[Date])
return
if(_A>4&&_A<=12,year('Table'[Date])+1,YEAR('Table'[Date]))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @PassionBIdevlpr
Add a new column using this DAX:
Fiscal Year Column =
Var _A = MONTH('Table'[Date])
return
if(_A>4&&_A<=12,year('Table'[Date])+1,YEAR('Table'[Date]))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |