FIlter out the for only 1 Biggest Bundle by Using MAX

As you can see in the image I have a few bundles, each with Email ID, I need only ONE which has the biggest ID , is there anyway to filter out only the Biggest one in a filter?

If I am using the Numeric Aggregator, I am losing all my data from the preceding and previous modules

To Sort by ID, you first need to aggregate all the bundles into a single array.

Every result (item/record) from a search/match module will output a bundle. To “combine” them into a single structure, 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 has applies to many use-cases.

You can use the built-in function sort on the array, the pick the first (highest) bundle.

e.g.:

{{ first(sort(1.array; "desc"; "id")) }}

For more information, see the function documentation in the Help Center.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

Partner & Custom Apps

samliew – request private consultation

Join the unofficial Make Discord server to chat with other makers!

3 Likes

Thank You 10000000 times

1 Like

No problem, glad I could help!

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

4. Do join the unofficial Make Discord server for live chat and video assistance

samliew – request private consultation

Join the unofficial Make Discord server to chat with other makers!

To make sure I am doing it right - I have to use 2 new module’s

Yes something like that, depending on the raw values from your bundle (desc/id).

samliew – request private consultation

Join the Make Fans Discord server to chat with other makers!