Hi all, I'm working on a gallery filter that displays kids in our preschool based on which programs they are enrolled in. The problem is that some kids are enrolled in more than one program, for example summer school and GSRP. The programs are captured in a text box with a comma between each program (ie: GSRP, Summer Program).
I would like my gallery to filter the children displayed based on a combobox selection, and show all students for the selected program. Currently, however, it only shows students who only have that specific program selected (such as just GSRP or just Summer Program, but not both). I'm not sure what I'm doing wrong. This is the formula I currently have:
Filter('21-22 S2-4 CLC Enrollment', If(!IsBlank(Locate.SelectedItems.Result), CLCLocation in Locate.SelectedItems, true) && If(!IsBlank(Programs.SelectedItems.ProgName),All_x002d_Program_x0020_Type in Programs.SelectedItems.ProgName, true) && If(!IsBlank(Rooms.SelectedItems.RoomNumbFinal), All_x002d_S4_x003a__x0020_Room_x in Rooms.SelectedItems.RoomNumbFinal,true),IsBlank(All_x002d_S4_x003a__x0020_Drop_x),Archived<>true)
As you can see, there are a LOT of filters on this gallery, and most of them already work well. But when a child has more than one program in their Program item, they just don't show. Any advice?