I have a problem.
i'm creating an app that uses imported data source from Excel file the problem is that i want to read 200,000 rows at least, but i dont know if i can do that or how i can do that because first, i increase the limit of data in the config from 500 to 2,000 rows and then i'm also using a formula that i think is a delegation function: Search("my_Excel_file";TextSearchBox2.Text;"Column1";"Colmn2")
I'm using this function in a Browse Gallery and when i try to know how many data i'm reading, i use this function:
but the result is only 15,000, not thw 200,000 rows i need.
I need help cuz i don know how can i read the 200,000 rows
Solved! Go to Solution.
Hi @Msaldivar ,
Actually, it is the known limits with 'Add static data to your app' feature in PowerApps. The 'Add static data to your app' feature can only load a maximum of 15,000 records once time.
If you want to load more than 15,000 records from your static Excel file, as an fixed solution, you could consider bulk-load your Excel data into your app to multiple individual collections, then merge these individual collections into a single one collection, then use the single one collection as data source in your app.
Please check and see if the following blog would help in your scenario:
Excel as a datasource doesn't support delegation. So its just not designed to support that many rows when used with PowerApps.
Imported Excel workbooks (using the Add static data to your app data source), collections, and tables stored in context variables don't require delegation. All of this data is already in memory, and the full PowerApps language can be applied.
Gallery loads data in batches only when one scrolls through the data set
Can you directly try querying your data source and check the count - rater that getting the item count from gallery
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
still having the same problem.
I read the data directly from a datatable and the count still only 15,000 instead of 200,000.
and i alsoo try to lookUp an item in a row after 15,000 and it doesn't found anything.
LookUp(Current_Cost_Calculation_By_Com;'Item Number'= "ksm4040781";'Item Name')
@RezaDorrani said that IMPORTING the data from Excel doesn't have limits. That's because you are making a copy of the data in the application. It sounds from your reply like you are still connecting to the Table in Excel and READING it rather than importing it. That would require delegation, which Excel doesn't do. I'm also not sure the application has enough storage space to hold 200,000 imported rows from a spreadsheet.
I think I already imported the excel table.
but, what if i try not to read all data at once, in the applicacion.
could I use a function to find some specific value in the table?.
For example, some look up or other function that reads a value from the row 20,000 instead of having al 20,000 rows in the application? can I do that?
i ask this because as i said before i use the lookUp function to fin only one value but it founds nothing.
You probably would have to load your data in batches into a local collection
and so and so forth
Notes collections at a time only can load 2k records
so this would definitely be an overkill but might work
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications