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 / Delegation problem wit...
Power Apps
Answered

Delegation problem with ForAll and StartWith

(0) ShareShare
ReportReport
Posted on by 50

Hi;

i have this code it's work, but there is delegation in my code and my table contain more than 7000 rows, delegation make me trouble because some rows doesn't display in my gallery, how can i write my code without delegation. 

delegation is on StartWith because i'm using b.Name

 

 

ForAll(DepartementList As b;
 /**TimeEntries**/
 Collect( TimeEntriesColl; Filter(TimeEntries; StartsWith( Direction; b.Name)) ) )

 

 

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at
    ForAll(DepartementList As b;
     /**TimeEntries**/
     With(
     {
     bnamevalue: b.Name
     };
     Collect(
     TimeEntriesColl;
     Filter(
     TimeEntries; 
     StartsWith( Direction; bnamevalue)
     )
     )
     )
    )
  • Khedidja1990 Profile Picture
    50 on at

    i remove StartWith and its work thank you 

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 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard