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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Beginner's Questions: ...
Power Apps
Answered

Beginner's Questions: First Day using Power Apps

(0) ShareShare
ReportReport
Posted on by 2

I am first day using Power Apps, and trying to do this simple thing.. with a Power Apps as below"

tanthiamhuat_0-1658566873589.png

What I want to achieve is this:

Users will select their inputs (Country, Date, Total Scope1,2,3 Emissions), and press the Save button. Upon each Save button pressed, I want all the above input information to be saved in an Excel file (appended mode or overwrite mode) in a column format, that is Column 1 = Country, Column 2 = Date, Column 3 = Total Scope 1 Emissions, Column 4 = Total Scope 2 Emissions, Column 5 = Total Scope 3 Emissions.

 

I read from https://www.youtube.com/watch?v=tQCBWMR7T64 it is possible for Tabular data, but I am not sure how do I manipulate it for inputs entered by users from the UI.

 

If that is possible, the next thing I wish to do is to save those information in Azure Blob Storage or Azure SQL Database, which would be more difficult.

 

Appreciate it very much.

Categories:
I have the same question (0)
  • jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    Hi,

     

    You can use power automate. Crete an excel file in Onedrive for Business or Sharepoint and create a table in that file with the needed columns. Start your flow in power apps and send the needed inputs.

     

    For your first action in your flow, you need to parse waht you get from power apps and then add a row to your excel file. Not super, but it does what you want.

     

    excel.PNG

     

    PS> Ignore the second Parse, you need only one. I took this from a production flow with different requirements.

  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @tanthiamhuat ,

     

    If the controls you are using are in a Form control, you could use the SubmitForm() function to save data from the Form to the data source.

    SubmitForm(Form1)

    https://powerusers.microsoft.com/t5/Building-Power-Apps/transferring-data/m-p/1651209#M420925

     

    If the controls you are using are just on the screen, you could use the Patch() function to save data from the input controls to the data source.

    Save Button -> OnSelect property:

    Patch(datasource,Defaults(datasource),
    {choicecolumname:{Value:Dropdown1.Selected.Value},datecolumn:DatePicker1.SelectedDate,textcolumn1:TextInput1.Text,textcolumn2:TextInput2.Text,textcolumn3:TextInput3.Text})

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Having-Trouble-Patching-Email-Address-to-Excel/m-p/1532962#M395809

     

     

    Best Regards,
    Charlie Choi

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard