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 - Building Power Apps
Unanswered

forall

(0) ShareShare
ReportReport
Posted on by 4
 
I have the same question (0)
  • Mark Nanneman Profile Picture
    989 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard