Hi,
Need help creating a formula that will look at LI for a rolling 5 day forecast and return back the max number of those 5 days. I set up a systems module that looks at the forecast for 5 days, and then tried to use it in the formula below.
Hi @neg177
To achieve this, you need to make a lineitem that only has values for the rolling 5 days. It's formula will be ' IF Rolling 5 days Forecast THEN Max cash demand ELSE 0'. The MAX of this lineitem will be your desired result, it can be achieved by setting the summary for this lineitem and MAX and referring the top level in the target lineitem.
Hope this helps.
Regards,
Mandeep
Please try the following formula.
TIMESUM('Rolling 5 day forecast', -4, 0, MAX)
@ravi
Please do not use TIMESUM() with Time in the Applies as it can have performance issues:
@rob_marshall
Does this performance hit also apply to MOVINGSUM?
Can the following formula solve the problem without the performance hit?MOVINGSUM(Line item, -4, 0, MAX)
No, MovingSum() does not have the same performance issues that TimeSum() does because MovingSum() was specifically made for line items with Time in the Applies To and TimeSum() was not. Here is a video which talks directly to that:
https://community.anaplan.com/t5/Anaplan-Live-December-2020/Function-vs-Function-MOVINGSUM-vs-TIMESUM/td-p/93488
We are looking for Anaplan end-users to provide feedback on their experiences with the Excel add-in. Interested individuals will respond to this 5-minute survey to help us understand personal needs and behavior when using the add-in. The feedback provided by survey takers is essential to the roadmap of Anaplan's products.…
Estimated Level of Effort:4-8 Hours of Model Building Level of Difficulty: Beginner Recommended Training: L2 Model Builder Training Persona: Casual Model Builder Potential ROI: Decreased planning time Increased accuracy of targets/spreads You Might Also Like: * Historical Snapshotting Top-Down Allocations Whether it's…
Estimated Level of Effort: <4 Hours of Model Building Level of Difficulty: Beginner Recommended Training: L1 Model Builder Training Persona: Casual Model Builder Potential ROI: Decreased response time to address risks Increased forecast accuracy You Might Also Like: * Tops-Down Allocations Historical Snapshotting One of…