Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
112 | |
62 | |
54 | |
38 |