Omit Parent List Item if Child List items are empty

I have a parent list of Hobbies with a child list of events that are classified under those hobbies.

Screen Shot 2020-08-10 at 4.15.14 PM

As you can see in the image above, Cycling has 2 events under it. Soccer has none. I am trying to omit the Hobby item from the Hobby list (soccer) if the event list under that Hobby is empty but here is the problem: The event list under soccer is NOT empty in the database because it contains events that have already passed tagged with soccer, and I’m returning events to this list that are in the future only. So I can’t just set visibility to sometimes visible when Current Hobby>Events>Count is greater than 0 because the count will never be 0 as the database will always have passed events in it.

Thanks in advance for your help. I’ve been trying to fix this issue for 3 days.

Hi @iron49man. Have you followed the help document here regarding empty states: https://help.adalo.com/how-to/how-to-create-an-empty-state

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.