How can I display grouped data in a RG?

I’m trying to create a repeating group that displays grouped data.

I have the db set up like this:

I want to show a RG where each cell has the name of a Group and then the components of that group (the SKUs). I thought using the Grouped By function would accomplish this but I’m not seeing how to set this up.

Appreciate the help!

Thanks

The bubble manual gives a few examples of how to use the group by operator. Best place to understand it there.

@mikeloc do you have any insights on getting this to work? Much appreciated. Mark

Are those just text fields that are all in the same data type? If so, I believe you could go with a repeating group inside a repeating group, with the data source of the main repeating group set up something like this.

Then, add a repeating group inside the main repeating group, and have the data source of the second repeating group set up something like this.

Finally, have a text element in the second repeating group that shows the Current cell's Bundle's sku name, and you should be good to go.

This topic was automatically closed after 70 days. New replies are no longer allowed.