SUM all the numbers from few collections within 1 bundle

I have an array aggregator whose output is a variable number of collections and within each collection there is a number.

I want to sum all the numbers that are inside the collections.
what should I do?

1 Like

Have you tried using the Numeric Aggregator?

Aggregators

Every result (item/record) from iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and can apply to many use-cases like building of JSON, CSV, HTML.

There are other types of aggregator modules, click the below links to find out more:

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Hi @Ido_Puterkovski

You can use Numeric Aggregator module to achieve this:

Output:


Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

2 Likes

Thanks! @Msquare_Automation @samliew

1 Like