Hi all,
I will soon start with building a new app for which I need to present the following:
1: a gallery where based on a text input search field, user can search for a file number and the gallery will return the equivalent record. However the total unique file numbers is around 3.000, stored in a Sharepoint Online list.
Following code in the items property of the gallery:
Search(Distinct('Agreements','File number'),TextInput1.Text,"Result")
I use distinct given it could be in the list the file number will be present multiple times, due to step 2:
2: based on the file number I will select in the gallery, based on the filtered result of step 1, I will assign a variable to store the selected file number once you click on the > icon in the gallery for details.
this will take you to another screen with a new gallery with records related to the file number from step 1 (as stored in the variable). On average there will be around 10 records related to a file number. The total number of records, again in a Sharepoint Online list, will be around 30.000.
Following code in the items property of the gallery:
Filter('Agreements','File number' = varSelectedFilenumber)
Question I have is the following: Is Powerapps able to filter the file numbers, although there are around 3.000 unique ones in the Sharepoint list. And then if I select a specific number, will it show the related records, where Powerapps need to pull them up from a list of around 30.000 records.
So far, both galleries work and I don't get any delegation warnings. However currently I only have like 10 records in the Sharepoint list for testing purposes. The end state solution will be one list with around 30.000 records, containing a file number id which can be present more than once in the file number column, and 30.000 unique id's in the file number details column.
I was wondering, is there anything I need to take into account when it comes to the gallery being able to search through and present all the data and not just e.g. base the search result on only the first 2.000 records. Looking forward to any insights one may have. Many thanks in advance.