Forum Discussion
brankocareer
2 years agoHelper I
Dynamic Fiscal Year Calculation
Hi all, I am trying to do a dynamic fiscal year calculation. On the top of report I added a Date slicer defind as "before", aiming to let user to choose one specific day. The measeure is as follo...
- Anonymous2 years ago
Hi, brankocareer
You can try the following methods.
Measure = CALCULATE(SUM('OS + PNG'[BONUSES]),ALLEXCEPT('Date','Date'[Fiscal Year]))Measure 2 = Var _FY=CALCULATE(MAX('Date'[Fiscal Year]),FILTER(ALL('Date'),[Date]=MAX('Date'[Date]))) Return CALCULATE([Measure],FILTER(ALL('Date'),[Fiscal Year]=_FY))Is this the result you expected?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
brankocareer
2 years agoHelper I
Hi Charlotte,
Your method works at year level. If you add month, it won't work.
brankocareer
2 years agoHelper I
Hi Anonymous ,
Thank you for your reply! Your method works at year level. However, if you add month, it won't work. How to address this issue?
Thank you!
Branko