Hi,
I have a SharePoint list which contains a lot of data > 2000 rows.
Because of this now our PowerApp doesn't show all items due to delegation issues.
I'm trying to fix this issue by loading the list into a collection(ColLead). The list(Leads) contains a column named "LeadNumber" it is a combination of both "Year"-"ID". I which to load the collection with all the Leadnumbers starting with "year" which I type into a text field (txtLeadJaar) and Load the collection pressing a button (btnLoadLead). I do this to make sure not to much rows are loaded into the collection.
I use the below code on 'OnSelect' of btnLoadLead to get the information into the collection.
txtLeadJaar contains the string "2020" in this example.
ClearCollect(ColLead;Filter(Leads;StartsWith(LeadNumber;txtLeadJaar.Text)))
This works, but my gallery only shows 1 row with Leadnumber "2020-001" all other rows aren't showing.
If I check the collection in preview it only shows 1 row aswel.
Any Idea's what i'm doing wrong? Thanks!