FIlter out the for only 1 Biggest Bundle by Using MAX

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

samliewrequest private consultation

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

3 Likes