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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to use For All fun...
Power Apps
Answered

How to use For All function for more than 2000 record

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to use For All function on a table in Data Verse contains more than 8,000 records.
However, The For All function only returns 2000 records ( I think due to delegation warning and it doesn't show the sign of delegation warning).
How to do it ?

Categories:
I have the same question (0)
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @OussamaOsman,

     

    Performance-wise I would not recommend looping through such a high amount of records with a ForAll() function. The 2000 limit is because that is the record fetching limit - meaning Power Apps cannot return more than 2000 records with a single call.

    What exactly would you like to achieve with the ForAll function? We might be able to find a more performant alternative solution.

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @LaurensM ,
    Thank you for your reply.
    What I was trying to achieve is that I want to automate patch data into a table that has a lookup column based on a 8000+ records in dataverse tables.
    I solved this problem by extracting the table into excel, then collecting all the rows in the excel file into a collection and use for All on the collection itself.

    As you mentioned, the performance on high amount of records is bad but it's a one time thing.
    Regards.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 105 Most Valuable Professional

#2
Haque Profile Picture

Haque 77

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard