Skip to main content

Notifications

Community site session details

Community site session details

Session Id : DSKGE86FrKupscTNY7Bs+b
Power Apps - Building Power Apps
Answered

How to save data from form to excel

Like (0) ShareShare
ReportReport
Posted on 7 Sep 2018 08:53:20 by 287

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 ?

  • dinusc Profile Picture
    Microsoft Employee on 10 Sep 2018 at 12:49:02
    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-a-powerapps-application/

     

  • vish_p Profile Picture
    287 on 10 Sep 2018 at 09:29:55
    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 ?

  • vish_p Profile Picture
    287 on 10 Sep 2018 at 09:27:44
    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 ?

  • Verified answer
    v-xida-msft Profile Picture
    on 10 Sep 2018 at 08:43:35
    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

  • dinusc Profile Picture
    Microsoft Employee on 07 Sep 2018 at 13:23:54
    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

  • vish_p Profile Picture
    287 on 07 Sep 2018 at 12:46:45
    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 ?

  • dinusc Profile Picture
    Microsoft Employee on 07 Sep 2018 at 12:40:13
    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 98 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 60

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard