Hello! I am really struggling with wrapping my mind around the logic of this filter.
I have an advanced filter where if the repeat # of a task is less than the number of instances of this task in already created schedules, it should return this task. If the task already occurs enough times in existing schedules, it will not return this task. I can’t seem to figure out how to write it, though.
Here in the screenshot, I have the advanced filter with these steps:
This task’s repeat # is less than “do a search for schedules that occur in this week: each items tasks”
Next, I need to essentially get the number of times this task occurs in that list and compare it with the repeat # in this filter. I thought maybe I could filter the list of tasks again, but I can’t pass the parent filter’s task into the child filter. So I’m wondering if it is possible to count only the number of instances where this filter’s task occurs in that list? I thought about grouping and aggregation, but I can’t seem to figure it out. All ideas welcome.