web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to save data from ...
Power Apps
Answered

How to save data from form to excel

(0) ShareShare
ReportReport
Posted on 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 ?

Categories:
I have the same question (0)
  • dinusc Profile Picture
    Microsoft Employee on at

    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 Profile Picture
    287 on at

    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 at

    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

  • Verified answer
    v-xida-msft Profile Picture
    on at

    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

  • vish_p Profile Picture
    287 on at

    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 Profile Picture
    287 on at

    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 ?

  • dinusc Profile Picture
    Microsoft Employee on at

    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/

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard