"Restructure" an array

Good morning

I am seeking help / advice to restructure an array :

My current output is :

I would like to have it structured like the result below :
image

Which function would do this job ?
Thanks a lot !

You can use Map function for this, based on the screenshot you have shared,

Something like this should work,

flatten(map(originalArray;field_1133_raw.id))

You can check Array functions page for more details.

1 Like