Trying to hide rows in repeating groups that contain a zero value

I have two, single column repeating groups inside a single group.
The one on the left displays the number of items a User is collecting from an order.
The one on the right is displays the name of the item that is being collected.

This sort of works but I see the following…
Screenshot 2023-08-22 093323

Ideally I want to remove the rows where the Quantity being collected is 0 so it looks like this.

Screenshot 2023-08-22 093330

I can achieve this in the RG that shows the Qty by using Conditions (If Current Cell’s Value is 0, this element isn’t visible) but not for the Corresponding Items because I can’t reference the Current Cell of a different RG.
I’ve tried using Custom States but this gets incredibly complicated (and beyond me) for referencing specific 0 values to hide corresponding rows.

My Spidey senses tell me that two RGs in the same group isn’t the same way to do this but I can’t think how to achieve what I want.

Can anyone nudge me in the right direction?

Many thanks in advance

Just don’t include them in the RG datasource… (don’t use conditions for this type of thing)

Also, I don’t understand why you’re using 2 RGs for this? what’s the idea of that?

1 Like