Hello PA community!
I have a super large SharePoint list (expected to cross 100,000 items)
I want users to be able to view and edit (i.e. provide their response) only to specific portions of the list
So I created a mix using separate PowerApp read-only form and edit form
1) I further want the users to only view and edit list items where there is no response already provided (Col1.Value = Blank())
2) I also need that specific users are able to see only the items relevant to their area. I manage this through a field in the SharePoint column called Col2.This field has email addresses concatenated by semi-colon ;
For example, abc@gmail.com; def@gmail.com; pqr@gmail.com
Some records may have one value only in Col2 field (abc@gmail.com), some may have 2 concatenated values (abc@gmail.com; def@gmail.com) while others may have 3 or more concatenated values (abc@gmail.com; def@gmail.com; pqr@gmail.com)
i.e. this number is variable
The filter that I have set on the records gallery is:
Filter(List_Name, Col1.Value = Blank() && User().Email in ThisRecord.Col2)
Currently my list size is ~45,000 records
For testing purposes, I have updated a few records (<2000) with my own email address
However, I am unable to see any items in the Power App
I expect to see the records with my email ID in Col2
I am 100% certain that this delegation problem due to large dataset size, because the exact filter works on lists with smaller record count.
So my question is : How can I improve my Filter query so that this filtration gets delegated appropriately to SharePoint and I can see the records where Col2 has my email ID in it?
Happy Friday and thanks in advance!