Forum Discussion
dantheram
3 years agoHelper II
Moving Average - not date based
hi all i'm really struggling to understand how to compile what should be a very simple MAA. The issue is that i do not use date, i use period numbers; 1 to 13, as below - all i want ...
dantheram
3 years agoHelper II
the issue with the above is that the 'lastdatewithdata' and max current date lines will always be '13', as i have to use the period numbers and they reoccur each year - so there's always a 13.
so, it is working but still running on past period 5
tamerj1
3 years agoCommunity Champion
Create a fiscal year period column in both tables the use it in the code. It is also advised to use this column to create the relationship.
Fiscal YearPeriod =
VALUE ( SUBSTITUTE ( 'SAFs Actuals'[Fiscal Year], "/", "" ) ) * 100 + 'SAFs Actuals'[Period]
- dantheram3 years agoHelper II
you sir are a hero 🙂
thanks so much!