How to create a SUM formula from a list but the format of the line item on the list is text
and how to automate upload data from SQL server into Anaplan
thank you
@josephine_surja
@sulistyapratiwi1020
SUM only works on the numbers. There is a function called TEXTLIST which should do the job for you. However TEXTLIST impacts the performance of the engine, so use it cautiously.
You can use Anaplan Connect or other options. Similar thread here
Connect to SQL server - Anaplan Community
Misbah
Aggregation functions like SUM operate using LIST formatted line items on TEXT. This is because text strings are not meaningful and therefore are not able to direct the function as to what items to include in the aggregation.
Also, the target of the SUM must be dimensioned by the LIST being used in the mapping.
To use the TEXT data as a mapping in your model you need to convert the contents of the line item into a list.
Use ISFIRSTOCCURRENCE and a boolean line item to filter your module to only show unique entries. Create a saved view only showing the TEXT data and use the boolean to filter out all duplicates.
Next, use this view to update a list using an import action - Import into a list.
Create your mapping that will inform the SUM function using this updated list - SUM.
Your mapping table should contain the same dimensions as the source and contain a list formatted line item containing the relevant mapping. Here, you would format the line item using your updated list.
The target should be dimensioned by the list. The SUM function will aggregate the data as per the mapping table.
As for the automating the upload refer to @Misbah link.
Good luck,
Chris
Hi everyone, I am trying to create a connection ADO from PostgreSQL, but I consistently receive the following error: Failed to establish a connection The following message was sent from the target system: The SSL certificate is either invalid or not in unencrypted PEM format. Please check your certificate and try again.…
A quick reminder of the Bulk Copy functionality. Bulk Copy allows you copy large volumes of data from one slice of a model to another in a single, optimised operation, instead of using formulas or imports. Use case: copy a version (RF1) into a prior year version (PY RF1) using a versions list to allow for year-on-year…
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.…