When using list versions, how do I make the movingsum formula include the forecast output for previous months in the calculation of a given months forecast??I cant include a "previous" function within the movingsum formula
@estebanmartinezanavate
This is the constraint that MOVINGSUM has. To achieve this functionality, break your formula in two different line items. In the first line item calculate the PREVIOUS value and in the second calculate the MOVINGSUM of the previous value.
~Anand
@estebanmartinezanavate the trick is to know that most of the Time functions, if you "look in the past", you can reference the line-item itself, including the MOVINGSUM function (like a recursive reference).
Below is an example to calculate the Forecast months as AVG of the previous 12 months:
in a line-item called '12 months average for FCT' you can put a formula like:
IF Actual Month? THEN Actual Input ELSE MOVINGSUM('12 months average for FCT', -12, -1, AVERAGE)
How to consider a month as Actual or not, there are different ways to do it...
You can have the same approach for this formula also when you use Versions.
Hope it helps
Alex
Reading your query closely can I clarify your question.
Are you looking to include values from a diffferent version in your MOVINGSUM?
For example;
Current version is Forecast P2.
Do you need to pull the MOVINGSUM value relating to a previous version, in this case Forecast P1?
Hi everyone 👋 If you build or maintain Anaplan models, you've probably hit the same walls I kept hitting. Some basic questions about a model's structure have no single screen to answer them. You end up clicking through modules and pages one by one, or writing API scripts just to get a list. These were the gaps that…
Hi Everyone, We have a requirement in Anaplan Consolidation & Reporting (Fluence) where the Entity Structure needs to change effective January 2026. The key requirement is that the existing entity structure should continue to be applicable for all reporting and consolidation periods through December 2025, while the new…
We've been building a tool called aplan4sheets and we'd genuinely like input from this community — both on what we've built so far and on what we should prioritize next. The problem we set out to solve: Anaplan's Excel add-in is Windows-centric, and there's no real native way to pivot Anaplan data in Google Sheets. We…