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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Limitations of Forall ...
Power Apps
Suggested Answer

Limitations of Forall function

(1) ShareShare
ReportReport
Posted on by 107
After being educated by Warrenbelz in the previous post of mine and Reading a Matthew Devaney article on Delegation and Forall I understand the limitation in a forall is 2000 however it might ease my mind in dealing with a Delegation warning i have with the Statement below. I get a Delegation warning  around Checkbox2_1.text  my question being is what is technically the "target" of the delegation? is it Gallery1? or ECI_Dies_1 SP list? the only reason this is a question to me is that technically Checkbox2_1 is a control inside Gallery1, and Gallery1 Datasource is a DIFFERENT SP list. so when the Delegation warning is orange underlining Checkbox2_1.text does this mean the forall cant see more than 2000 in Gallery1, ECI_Dies_1 or the other SP list? because if its Gallery1 then i can be at ease becuase it will NEVER reach that much. but the other 2 SP lists have a chance over time.
 
ForAll(
   Filter(
      Gallery1.AllItems,
      Checkbox2_1.Value
   ) As _Data, //Filter Gallery1 items for checked boxes and call these records _Data
   With(
      {
         _Record:
         LookUp(
            ECI_Dies_1,
            dienum = _Data.Checkbox2_1.Text &&
            eci_id = SelectedRecordTitle1_1.Text
         ).dienum
      }, //establish named record using look up to check for matching Dienum and eci_ID
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi
     
    Please share the code with the warnings on them so we can see, you have it there, share it don't try to explain it. Cannot tell whats the targer exactly as you didn't share a picture. Be assured a picture s always better than you trying to explain something you can see, but for some reason aren't sharing with us.
     
    Also, your filter is nothing more than a true or false, what exactly were you trying to filter out?
     
  • Suggested answer
    rzainm Profile Picture
    107 on at
    Whatever your Datasource in Gallery1 is. It's better if you can avoid delegation warnings, but if data of Gallery 1 wont reach 2000, that's probably fine. Also, is there no delegation warning on your LookUp? LookUp is non-delegable from what I've experienced.
  • CP-23071818-0 Profile Picture
    107 on at
    FLMike please see the pictures you requested, i apologize for this being so late but I couldnt get replies out, this reply may even not make it through, i have a ticket out.
     
     
  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at
    I will add something here as I have been involved with this app before (as you mentioned). I think asked this last time as to how and why you are wanting to refer to the Text property of a text box, which I assume in your case must be dynamic (a formula). If it refers to another data source (other than ECI_Diss_1), then Power Apps needs to resolve a relational lookup, which is not Delegable. I know technically it should read the label, but clearly it does not want to do this.
     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard