I have a Repeating Group of Camps with a lot of drop-down filters. Camps have a field, (Students), which is a list of Students. I am trying to get a total count of students for all Camps in the Repeating Group.
It is easy to get a count of the items in the RG, however I’m stuck on how to get a total count of the nested list of students for all Camps in the RG.
input a text element, use “do a search for” “:count” , and set the constraints to the values of the drop-down filters that have been selected. In this way, you’re not counting the items in the RG, but duplicating the results.
Unfortunately, I can’t get it to work because in my case (Camps & Students), Camps can have many Students, and Students can be in many Camps. When I try to set contraints, I end up needing to constrain a list with another list. I’ve tried many scenarios and can’t get that to work.
@lois.laput Thank you. You are a life saver! Thank you for the quick demo. The only difference was I did not have the “>0” in the Advanced Filter. It was preventing my filter from validating.