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
There was an error rendering this rich post.
Hi all, The Client ID and Client Secret are available, intended for uploading and downloading files. Could anyone advise how to use these credentials DIRECTLY to make API requests? Thank you!
I have A6 as the parent list and two sibling lists: A6.5 and A7. The A7 list includes an attribute that maps to A6.5. In the UX, the user will select A6.5 using a content selector, and the grid (dimensioned by A7) should display only the A7 items associated with that selected A6.5. Since the selector is a page context and…