cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
msik
New Member

In PowerApp Forms, can I save data from multiple sources and user input to one file?

My goal is to have a user select from different drop downs a project, employee, and role. Then manauly type in a percentage. I want all of these saved into one excel file when the user submits the form. Is it possible to pull the drop down info into a seperate a file? 

2 REPLIES 2
Drrickryp
Super User II
Super User II

Hi @msik,

 

It is definitely possible to use data from multiple sources and save it all into one file.  I don't think I would use the Edit form to do it.  Instead, I suggest you use a blank screen and add the dropdown or comboboxes for each data source.  You would then use Collect() or Patch() to submit the data to your Excel file.  To see how to do this, Check out @Meneghino's blog at https://baizini-it.com/blog/index.php/2017/09/28/powerapps-101-create-your-own-forms/

and @Shanescows you tube at https://www.youtube.com/watch?v=Badj3_T8zAw

 

v-xida-msft
Community Support
Community Support

Hi @msik,

Could you please share a bit more about your scenario?

Do you want to submit data from multiple data sources and user input into single one row of your Excel table?

 

If you want to submit data from multiple data sources and user input into single one row of your Excel table, please check and see if my response within the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Creating-Apps/Multiple-screen-app-looks-nice-for-the-user-proble...

In addition, I don't think the SubmitForm function would help in your scenario. I think the Patch function could achieve your needs. On your side, you should type the following formula within the OnSelect property of the "Submit" button:

Patch(
'YourExcelTableDataSource',
Defaults('YourExcelTableDataSource'),
{
Column1:Dropdown1.Selected.Value, /* <-- Drop Input */
Column2:Dropdown2.Selected.Value,
...
Column6:Dropdown6.Selected.Value,
Column7:TextInput1.Text, /* <-- User Input */
Column8:TextInput2.Text,
...
}
)

More details about the Patch function in PowerApps, please check the following article:

Patch function

 

Best regards,

Kris

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (34,170)