Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

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



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)

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,349)