Hi there, @gormo11… I edited your sample app to do a search through the
Purchases data type for (and then do a count of) purchases where the product is the current cell’s product and the user is the current user. Is that what you were trying to do?
Oh, I also added another repeating group that shows the same data in a different way (although, it only shows products the user has purchased as opposed to all products). I put this example in there because doing a search in every cell of a repeating group is not really the most efficient way to go about showing data, so I wanted to throw another option out there as food for thought.
Hope this helps.