Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
DATESYTD(Dates[Date]) - defaults to December 31, how do I change this so that the fiscal year is 1 July to 30 June
I have the following measure
Annlzd RoR % YTD = CALCULATE([Annlzd RoR], DATESYTD(Dates[Date]))
The DATESYTD defaults to a calendar year however I wish to calculate the measure based on a 1 July to 30 June calendar year.
Can I ask for support on modifying this code or provide insight as to how to get this as an outcome.
Thanks
Solved! Go to Solution.
@CNH,
Please use this formulas depending on your date fomrat:
Annlzd RoR % YTD = CALCULATE([Annlzd RoR], DATESYTD(Dates[Date],"06-30")) Or Annlzd RoR % YTD = CALCULATE([Annlzd RoR], DATESYTD(Dates[Date],"06/30"))
Hope it helps.
Ninter
@CNH,
Please use this formulas depending on your date fomrat:
Annlzd RoR % YTD = CALCULATE([Annlzd RoR], DATESYTD(Dates[Date],"06-30")) Or Annlzd RoR % YTD = CALCULATE([Annlzd RoR], DATESYTD(Dates[Date],"06/30"))
Hope it helps.
Ninter
Ninter, perfect. Thank you
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |