Grouping data

Hi:

Suppose you have 1st a http request that returns fields c1, c2 and c3. You have a second http request that returns c1 and c4. You have to group the data to hace an array with c1,c2,c3 and c4.

How can we get that array?

Best regards

MG

Welcome to the Make community!

To do this, you can use the built-in function:

This function may have also been covered in the Make Academy tutorials — refer to the Make Academy Course Overview to learn more.

Here’s an example of how you can use this function:

{{ distinct(array; "key") }}
(copy-paste the above into the field, or type it exactly as shown)

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

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!