cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
v-monli-msft
Community Support
Community Support

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
v-monli-msft
Community Support
Community Support

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.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,553)