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 / Need help with Multipl...
Power Apps
Answered

Need help with Multiple Updates in a collection

(0) ShareShare
ReportReport
Posted on by 55

What is the best way to update a collection with data that a person has entered form multiple input boxes. The below formula is not working

 

 

UpdateIf(CommentaryUpdates,Reviewer = LedgertAcctGallery.Selected.Reviewer && MajorName = LedgertAcctGallery.Selected.MajorName,

{RootCause: RootCause_Text.Text,
 ActionPlan: ActionPlanIP.Text,
 OutsideControl: YesNoRadio_2.Selected.Value,
 Outside_Explanation: TeamsControl_IP.Text,
 ResolutionPrediction:ResolveCombobox_2.SelectedItems.Value,
 ResolutionExplain: NotSure_Comment.Text,
 DateUpdated:Today())};

 

 

Categories:
I have the same question (0)
  • Verified answer
    becca51180 Profile Picture
    55 on at

    I figured it out. I used a ForAll to make it work

     

     

    ForAll(AccountInfo_2.AllItems,
     UpdateIf(
     CommentaryUpdates, Reviewer = ThisItem.Reviewer,
     {DateUpdated: Today(), 
     RootCause: Var_Root, 
     ActionPlan: Var_Action, 
     OutsideControl: Var_YesNoResoltion, 
     ResolutionExplain: Var_Resolved_Explain,
     ResolutionPrediction: Var_Resolution_Selection,
     Outside_Explanation: Var_ControlExplain}
     )
    );
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Thanks for your follow up post. I am glad you were able to get this solved! Hopefully this will prove useful to future communities users. 

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard