# Array aggregator ; how to use it for grouping the flatten data and sorting within the group?

**URL:** https://community.make.com/t/array-aggregator-how-to-use-it-for-grouping-the-flatten-data-and-sorting-within-the-group/89435
**Category:** Questions
**Tags:** open-ai
**Created:** [August 12, 2025, 4:12pm UTC](https://community.make.com/t/array-aggregator-how-to-use-it-for-grouping-the-flatten-data-and-sorting-within-the-group/89435 "2025-08-12T16:12:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![abhinav\_srivastava](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@abhinav\_srivastava](https://community.make.com/u/abhinav_srivastava)
#### Post date: [August 12, 2025, 4:12pm UTC](https://community.make.com/t/array-aggregator-how-to-use-it-for-grouping-the-flatten-data-and-sorting-within-the-group/89435/1 "2025-08-12T16:12:33Z")

</div>

I have input array data to aggregator is this:  
Name (A)

Ms Rupam Srivastava

- Age (B)

- Report Date (C)

- Category (D)

- Test (E)

- Value (F)

- Lower Ref (G)

- Upper Ref (H)

- Unit (I)

- Status (J)

- Bundle order position

- Total number of bundles

---

<div class="post-metadata">

### Author: ![abhinav\_srivastava](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@abhinav\_srivastava](https://community.make.com/u/abhinav_srivastava)
#### Post date: [August 12, 2025, 4:20pm UTC](https://community.make.com/t/array-aggregator-how-to-use-it-for-grouping-the-flatten-data-and-sorting-within-the-group/89435/3 "2025-08-12T16:20:11Z")

</div>

Chatgpt is suggesting this but I am not able to follow it:  
Tools → Array aggregator (group by Test, sort, and compute “latest”)

This is the key step. We’ll build a chart‑ready structure **and** compute each test’s **latest** point to decide if it’s out of range.

- **Source module:** the **Iterator** (from Step 2)

- **Group by keys:**

- **Order inside each group:**  
`Report Date` **ascending** , but insert the normalization so the order is correct:

- **Aggregated top‑level fields per group (choose “Aggregate to” accordingly):**

- **Aggregated array (call it `series`) item fields:**

>

---

<div class="post-metadata">

### Author: ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)
#### Post date: [August 12, 2025, 4:21pm UTC](https://community.make.com/t/array-aggregator-how-to-use-it-for-grouping-the-flatten-data-and-sorting-within-the-group/89435/4 "2025-08-12T16:21:57Z")

</div>

Welcome to the Make community!

We’d love to help, however, you have not provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any issue/s and/or error/s.

To allow others to assist you with your scenario, please provide the following:

## 1. All Relevant Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are extremely important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

- the **full scenario** ,
- any error messages,
- individual module **fields** ,
- relevant filter settings (conditions), and
- each module’s output bundles
- any external services (spreadsheet headers, sample data, regex101.com, etc.)

## 2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

## 3. Module Output Bundles

Please provide the **output** bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the [History tab](https://www.make.com/en/help/scenarios/scenario-execution-history)).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

**The formatting is crucial!**

### A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a `bundle.txt` file.

You can upload the file here by clicking on this button:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/eea8fed2e9a3099e825050ba8b652b3699cd1a74.png)

### B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.

To provide code/text using Markdown format, you can type a code fence.  
Add three backticks ````` in a separate line before and after the content, like this,

````plaintext
```
text goes here
```

````

Alternatively, you can upload your file and share the public link\*\* —  
(this method is only recommended for large files exceeding the forum upload limit)

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.

Sharing these details will make it easier for others to assist you.

---

<div class="post-metadata">

### Author: ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)
#### Post date: [November 10, 2025, 5:27pm UTC](https://community.make.com/t/array-aggregator-how-to-use-it-for-grouping-the-flatten-data-and-sorting-within-the-group/89435/5 "2025-11-10T17:27:07Z")

</div>


