How to split multiple arrays that changes name

Hello there!
In this example I have 2 arrays called “BIT” and “SIS”, but those name are variables, moreover, there could be more than 2 arrays, maybe just 1, maybe more.
How can I split out these arrays in a table, considering that the items inside the array have of course the same data?

As you can see, I splitted out manually data.BIT and data.SIS just for example purpose, my problem is that I don’t have control on the number of the arrays, and the name of those.

I’m struggling with this since days… Any help will be really appreciated :slight_smile:

Hi there, any suggestion on this? :blush:

Hi @GBOL, based on your description you probably want to normalize your data structure before passing it on to the Item Lists node. Though if you’re doing that you might as well return in the individual items directly :wink:

Here’s a quick example using Object.entries() to read whatever properties you might have inside your data field:

This is the result:

Hope this is what you had in mind!

1 Like

This was exactly what I was looking for! Thank you very much @MutedJam !

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.