Forum Discussion
Anonymous
8 years agoNot applicable
Moving Average for 4 level indexed values
Hi, I struggled with it a lot, searched all over the forums, but could not achieve reasonable results - moving average for selling price is needed based on previous 3 rows results. Please, take...
- 8 years ago
Hi Anonymous,
Based on my test, you could try this formula:
Column = var a=[index2]-3 return CALCULATE(MAX(_2017[SellingPrice]),FILTER('_2017','_2017'[index2]=a))Result:
You can also download the PBIX file to have a view.
Regards,
Daniel He
- 8 years ago
Hi Anonymous,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
v-danhe-msft
Microsoft Employee
8 years agoHi Anonymous,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
Anonymous
7 years agoNot applicable
Thanks a lot! and sorry for delayed reply, thought nobody would answer it ever and stopped checking after awhile :)