can someone elaborate when to use sum , lookup and select in easy to understand way. i have read it from anapedia but still struggling
@Saurabhkumarkunwar
Another great way to think about which function to use is based on what is being used as the mapping module or what you are using to bridge the gap in dimensions.
1. Dimensionality of the mapping match with the target module - LOOKUP ( the format of the line item in the mapping module must match a dimension in the source )
2. Dimensionality of the mapping match the source module - SUM ( the format of the line item in the mapping module must match the dimensionality of the target )
Finally, use SELECT when you only want to retrieve data from a specific list item. Use sparingly and only when referencing top level list items.
SUM: You use this function when you want to aggregate the numbers based on the list formatted line item in the source module. This is considered to be Many to One relationship - meaning numbers from multiple items will be consolidated and the result will be shown in one single item.
LOOKUP: (Used in the scenario when there is a mismatch in dimensionality) You use this function when you want to get attribute(s) or numbers related to the list which is not the dimension in your target module. Similar to what excel does but in Anaplan we have concept of dimensionality. It is also used in the Top down approach (i.e., Cascading the values from Parent to Child)
SELECT: (Used in the scenario when there is a mismatch in dimensionality) You use this function when you want to get the data of any particular list member of the source module which is not the dimension in target module. This function is no longer being used on Lists anymore due to Scalability issues. It is restricted to Versions and some Time Periods Like (YTD,YTG and All Periods)
Misbah
Here's a useful diagram showing the basic usage:
from The Bedford Coach - Key Formulas - SUM vs LOOKUP vs SELECT (bedfordconsulting.co.uk)
Hi Community, It appears that values shown here for Q1 are assuming 29 days in Feb 25, when there are actually only 28. My values tie out for all Quarter values and all months shown from Apr 25 forward, and it's not possible for only a single quarter/finite range of months to differ with formula-driven values: Please…
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…
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.…