Hi everyone,
Having an issue with my Filters for my Gallery. Basically, I have six Dropdown boxes and I want my users to be able to select as many or as few as they need. My Dropdowns are as follows: YearDrop, TermDrop, SectionDrop, RegionDrop, SchoolsDrop, and ActivityDrop.
However, I'm coming unstuck because I need to have the gallery return all records if any of these are left blank. Using the first two drops as an example I've got the following formula:
Filter(StudentActivity,YearDrop.Selected.Value in Year && If(TermDrop.Selected.Value = "",Term,TermDrop.Selected.Value in Term))
This works if the TermDrop has a selected value (either 1, 2, 3, or 4), but not if it's left blank. I'm obviously having the same problem in the If statements for the rest of the dropdowns too.
Any help much, much appreciated!