Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi, I have a measure to calculate the closure rate for the previous financial year. It takes the value of the last month for the previous financial year because it is not a sum of all the months. The problem is the date filter in the measure specifies the year end as "30 June 2023". This is working fine now, but when moving to the next FY, I will have to change all the measures I have with the new FY ending.
Any wisdom to make the measure more automatic?
Here is my measure: (problem areas in GREEN)
Solved! Go to Solution.
Haaa! got it!
Hi, Ismari 👋
Just to clarify, your FY ends on 30th of June?
If so, this code should achieve the result that you are looking for
MOCs PRE FY21 CLOSURE RATE =
IF(
ISBLANK(SUM('ROBOT-Incidents'[MOCsPREFY21])),
BLANK(),
(
CALCULATE(
SUM('ROBOT-Incidents'[MOCsPREFY21]),
SAMEPERIODLASTYEAR(EDATE(DateTableV2_0[Date], -6))
)
- SUM('ROBOT-Incidents'[MOCsPREFY21])
)
/ CALCULATE(
SUM('ROBOT-Incidents'[MOCsPREFY21]),
SAMEPERIODLASTYEAR(EDATE(DateTableV2_0[Date], -6))
)
)
Haaa! got it!
Hi @Ismari ,
Thank you for your feedback. Has the issue been resolved so far? If so, please mark it as the correct solution, and point out if the problem persists.
Best Regards,
Adamk Kong
Yes, FY end 30 June.
I do get an error saying "Parameter is not the correct type" and the
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
84 | |
65 | |
62 | |
55 |
User | Count |
---|---|
179 | |
108 | |
104 | |
71 | |
70 |