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

Community site session details

Session Id :
Power Apps
Unanswered

forall

(0) ShareShare
ReportReport
Posted on by 4
 
Categories:
I have the same question (0)
  • Mark Nanneman Profile Picture
    991 Super User 2025 Season 2 on at
    forall returns single result for a Patch but I need the multi selection
    I can't quite tell what you're trying to do, could you post your entire code? Including the "Patch(" portion?  

    One recommendation I have is to get rid of all of your duplicate filter actions.  If 'Urenlijst Medewerkers' is a SharePoint List then you're making 6 API calls to SharePoint for every item in your "ForAll".

    You could make one and store it "inline" with a With function, something like:
     
    ForAll(Opvolging.SelectedItems;
        With(
            {
                sp_P: First(Filter('Urenlijst Medewerkers'; 'SP persoon'.DisplayName = ThisRecord.'SP persoon'.DisplayName)).'SP persoon'
            },
            {
                Claims: sp_P.Claims;
                Picture: sp_P.Picture;
                Email: sp_P.Email;
                Department: sp_P.Department;
                DisplayName: sp_P.DisplayName;
                JobTitle: sp_P.JobTitle
            }
        )
    )


     
  • OleB Profile Picture
    4 on at
    forall returns single result for a Patch but I need the multi selection
    .

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard