cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
faithdwn
Frequent Visitor

Ungroup collection, patch record, check data source for existing record

Hello, 

 

I am having trouble combining these two formulas that work as expected individually. 

Please help. I need to use this on a On Submit button into a SharePoint list. 

  • If(IsEmpty(Filter('Mobile Equipment Training Requests', Trainee Email=DataCardValue24.Text,'Mobile Equipment'=DataCardValue17.Text,Status.Value="Not Started"||Status. Value="In Progress"))
  • Ungroup(For All(Combined,ForAll(Equip, Patch('Mobile Equipment Training Requests', Defaults('Mobile Equipment Training Requests'),{'Certification Required':DataCardValue31.Selected,'Certification Justification':DataCardValue32.Text,'Request Type':DataCardValue30.Selected,'Area Name':DataCardValue26.Selected,'Specific Group Name':DataCardValue29.Text,Other:DataCardValue35.Text,Other1:DataCardValue36.Text,Shift:DataCardValue34.SelectedItems,Status:DataCardValue4.Selected,'Training Location':DataCardValue25.Selected,'Mobile Equipment':Result,'Trainee Full Name':Combined[@full name],'Trainee Email':Combined[@email]}))),"Value");Navigate(ConfirmScreen,ScreenTransition.None);Clear(Combined);Clear(Equip);Clear(TraineeList);ResetForm(RequestForm)
0 REPLIES 0

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (4,300)