cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Edit 2 files from the same form

Here's the situation:
I have a single form in PowerApps that is linked to an Excel table, the goal is to also upload another Excel table from the same field. Can anyone help me do this ? I'm used to variables manipulations.

TL;DR: The goal is to update 2 different Excel tables from the same field.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Edit 2 files from the same form

Hi @Anonymous ,

 

You could add both excel tables as to the data sources in this app. Then use a Patch function to patch separately to these 2 data sources. You can use one table as the data source of the edit form, then use a formula like below:

SubmitForm(EditForm1);Patch(Table2,Defaults(Table2),{Title:DataCardValue9.Text,...})

About Patch function, please refer to:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch

 

Regards,

Mona

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

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Edit 2 files from the same form

Hi @Anonymous ,

 

You could add both excel tables as to the data sources in this app. Then use a Patch function to patch separately to these 2 data sources. You can use one table as the data source of the edit form, then use a formula like below:

SubmitForm(EditForm1);Patch(Table2,Defaults(Table2),{Title:DataCardValue9.Text,...})

About Patch function, please refer to:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch

 

Regards,

Mona

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

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,365)