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

Patch a collection to excel and ovewrite

Hi and Good Day to everyone,

I know how to patch a single record to excel file and overwrite it, but what I do not know is, how to patch a collection that have multiple item inside it and overwrite the data if it exists in the Excel file. 

Any help or ideas would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Jcook
Super User III
Super User III

Hi @minglee95 

 

You basically do the same thing. But you add a  ForAll() function at the beginning of the patch.


Good blog on this here

https://www.codesharepoint.com/sharepoint-tutorial/powerapps-forall-function-with-examples

 

 


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





View solution in original post

3 REPLIES 3
Jcook
Super User III
Super User III

Hi @minglee95 

 

You basically do the same thing. But you add a  ForAll() function at the beginning of the patch.


Good blog on this here

https://www.codesharepoint.com/sharepoint-tutorial/powerapps-forall-function-with-examples

 

 


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





View solution in original post

minglee95
Frequent Visitor

Hi, @Jcook 

 

I try it but to no avail, was wondering if you could help me on this one?
I have a collection with 2 or more items,  and when user click a button, it will patch/update an excel file using the collection and if any same data exist, it will overwrite it.

Hi @minglee95 

 

Yea for sure!

 

When you say overwrite any existing same data. Would this just be an update?

 


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Helpful resources

Announcements
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,240)