Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

How can I filter a SharePoint list to include a list of specific IDs?

I am about at my wit's end thanks to the IN operator not being supported by Microsoft for SharePoint lists. I have a list called Categories with the following sample items:




I am pulling those list items into a multi-select LOOKUP column called Categories in a SP list called Events that could appear as follows:


EventCategories (Lookup)
Planning ConferenceOn-site;Private
Training EventPrivate


Obviously, behind the scenes, the categories are the item IDs when pulled into Power Apps, so the same list appears as follows:


EventCategories (Lookup)
Planning Conference2;3
Training Event3


I need to be able to filter the LOOKUP column to show all list items that contain a particular category. In this case, I would want to filter to Private and have only "Planning Conference" and "Training Event" populate.

Community Support
Community Support

Please try this:

Filter(Event, 3 in Categories.Id)


The IN operator is non-delegable with SharePoint lists, so only the first 500 values will be returned.

Community Champion
Community Champion

I don't do it will have to see if it slows it down but 500 is the default. You can go into the settings of the app and raise that 500 to 2,000 if you need to. I have one app I had to do that on.

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,139)