How to group data into one cell of a repeating group based on an attribute

Hey All!

I have been struggling all day with this, any suggestions are appreciated!

Using a convenience stores inventory:

I am trying to group products of the same the ‘description’ and ‘size’ into one tile of a repeating group:

Clicking on the tile would then open a pop-up with options of ‘flavours’ available for that ‘description’ and ‘size’.

Currently I have all the inventory showing in my repeating group…how can I group/filter to only show unique combinations of description and size?

Thanks in advance!

can you not filter based on the parent group of the popup?

Thanks for the response.

I still want items with other descriptions in that repeating group, just to have each of them only showing once. For example, if i have multiple Vitamin Water entries (one for each flavour) I want it to show up like this:

image

Then when I click on that tile, the pop up shows all the possible flavours that match the description (i.e. vitamin water)

OK, I think I know what you mean. Try setting the repeating group or parent group to Inventory, add, ‘do a search for sub-category’ with a constraint on which sub-category with each repeating group.

That was my initial thought as well, the problem is that the data set is such that each flavour has the same sub-category and description. So even if I constrain the search by sub-category I end up with 8 vitamin water tiles.

try adding :unique elements at the end of the dynamic data

I’ve tried that with no success…I thought maybe that didnt work because technically they are unique elements that happen to have the same sub-category?

OK How about changing the repeating groups type of content to “text” (i.e. just type in text)

Unfortunately that wont work either because it will also have images and numbers. Thanks for trying!

Did you solve it ?