web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Collect more tha 2000 ...
Power Apps
Unanswered

Collect more tha 2000 excel data

(0) ShareShare
ReportReport
Posted on by 372

Hello, everyone!

 

I used this formula to grab my excel data, my excel has 10000 rows.

ClearCollect(DataProdOrder, Filter(Perform, Value(No)<=2000), Filter(Perform, Value(No)> 2000 && Value(No)<=4000), Filter(Perform, Value(No)> 4000 && Value(No)<=6000), Filter(Perform, Value(No)> 6000 && Value(No)<=7000))

 

But, the data are shown just 2000 data, how to fix it?

 

Thank you in advance.

Categories:
I have the same question (0)
  • satishdongare Profile Picture
    4 on at

    Hi @firda59 

    There is limitations to fetch the records from the excel or any database , at a time you can only fetch 2000 records.

    so you can try this one 

    Collect(ds1,datasource); //Collects the first 2000 items

    Collect(ds2,FirstN(Sort(datasource,Descending),100)); //Collects the rest of the items

    Collect(dsfinal,ds1,ds2) //Combines the two datasources 

     

    Hope it will helps you

    Thanks !

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @firda59,

     

    2000 is the maximum and Excel does not support any delegable functions. There are workarounds to get up to 4000 rows however:

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Collections-maxes-out-at-2000-when-populating-with-SharePoint/td-p/179419

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

  • firda59 Profile Picture
    372 on at

    hello @satishdongare 

    still cant work, the list just shown 2000 rows

  • satishdongare Profile Picture
    4 on at

    @firda59 Does your Excel file Contains any column like Id on that basis we can fetch the records ,

    If you have column like Id or any other column on the basis of column we can fetch the records

    Ex.

    ClearCollect(colExcelData ,Filter(‘Name of Table’,ID<=2000),

    Filter(‘Employee’, ID<=4000 And ID>=2001),Filter(‘Employee’, ID<=6000 And ID>=4001 ),Filter(‘Employee’,ID<=8000 And ID>=6001 ),Filter(‘Employee’,ID<=10000 And ID>=8001 ))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard