cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
Level 8

How to save data from form to excel

I am starting with powerapps actually , so please help me out with this noob question

I am just creating a basic from,which contains dropdown,date picker,text box etc., to get inputs from end users,but i don't get how to save the given data to the excel file (or other datasources) when the user clicks on submit button ?

I tried creating an app from this excel and i am able to add data and save but how to add any other controls like date picker/dropdown etc and link it to the excel please help ?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to save data from form to excel

Hi @vish_p,

 

Could you please share a screenshot about your app's configuration?

Where does your Excel file store?

 

I assume that your Excel file is stored within your OneDrive, I have made a test on my side, please take a try with the following workaround:

 

  • Format the date column within your Excel table as Short Date type or Long Date type.11.JPG

     

  • Generate an app from the Excel table (Excel file) stored within your OneDrive.

Then the Edit form would be generated as below:12.JPG

 

 

The end users could fill in the Form, and then click the "Submit"  button to save your form data into your Excel table.

 

In addition, I also agree with @dinusc's thought almost, because of Time zone, the date value you filled within the Edit form may be different from that within your Excel table.

 

More details about generating an app from Excel table, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/get-started-create-from-data

 

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.

View solution in original post

7 REPLIES 7
Microsoft Employee

Re: How to save data from form to excel

Hello @vish_p,

You can do it manually but my recommendation would be to have an Excel table with enough fields for all the controls (you can even set field types in Excel for future controls) and then use PowerApps to create an application out of that table. In application forms, you can then unlock the cards (see "Unlock to change properties" option in Advanced Propertied panel on the right) and replace the controls that have been added automatically by other controls. Please see this for more information: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-cards

vish_p
Level 8

Re: How to save data from form to excel

I already have all those columns in excel table,consider one column is date and when i link that with poweapps i need user to pickup the date from the calendar pop up and then the selected date should reflect in the date field in my source excel file..can you please help me how to do that ?

Microsoft Employee

Re: How to save data from form to excel

Try to define your "Date" column in Excel as DateTime or as Number. In Powerapps, set the DatePicker control to card's default value (as on any other card controls): MyAddedDateTimePicker.DefaultDate=Parent.Default. 

Please note that the data is stored differently in PowerApps and Excel. The following page should help: https://powerusers.microsoft.com/t5/General-Discussion/DateTime-Is-displaying-wrong-time/td-p/44250

Community Support Team
Community Support Team

Re: How to save data from form to excel

Hi @vish_p,

 

Could you please share a screenshot about your app's configuration?

Where does your Excel file store?

 

I assume that your Excel file is stored within your OneDrive, I have made a test on my side, please take a try with the following workaround:

 

  • Format the date column within your Excel table as Short Date type or Long Date type.11.JPG

     

  • Generate an app from the Excel table (Excel file) stored within your OneDrive.

Then the Edit form would be generated as below:12.JPG

 

 

The end users could fill in the Form, and then click the "Submit"  button to save your form data into your Excel table.

 

In addition, I also agree with @dinusc's thought almost, because of Time zone, the date value you filled within the Edit form may be different from that within your Excel table.

 

More details about generating an app from Excel table, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/get-started-create-from-data

 

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.

View solution in original post

vish_p
Level 8

Re: How to save data from form to excel

Thanks this solved my query but as @dinusc said the time whatever i am giving on powerapp and what is displayed on excel both are diff any work around for that ?

vish_p
Level 8

Re: How to save data from form to excel

As you said the time whatever i am giving on powerapp and what is displayed on excel both are different,i referred to the llink you have shared above, there they are asking to use embedded xls but i am doning it using a onedrive connector, any work around for that ?

Microsoft Employee

Re: How to save data from form to excel

I think you will have to adjust thje date/time values in your application, according to your timezone. I hope the following will help as well: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-dateadd-datediff

https://blogs.msdn.microsoft.com/charles_sterling/2016/12/02/controlling-how-dates-are-displayed-in-...

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 369 members 4,848 guests
Please welcome our newest community members: