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 / Save PowerApp data to ...
Power Apps
Answered

Save PowerApp data to SharePoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have built a simple app with data from a SQL server. Is there a way to extract the data from the app and get it into a SharePoint list?

Categories:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at

    Hi @Anonymous

     

    If you do not need to shape the data you just set the OnSelect property of a button to this:

    Collect(MySPList, MySQLServerTable)

    If you need to shape the data then just wrap the shaping expressions (Filter, AddColumns, ShowColumns, etc.) around the MySQLServerTable

     

    Hope this helps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I apologize...I am very new to PowerApps and don't completely understand. Do I add a button to the app? Also, do I specify the name of my list and server table or leave as you have it?

  • Meneghino Profile Picture
    6,949 on at

    Ok, no problems.

    Yes, you add a button to the app.

    You need to create the connection to SharePoint, unless you have done so already.

    You need to add your sharepoint list as a data source to the app before you can use it.

    Then yes, please use the names as they appear in the data source list for the app.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much for the response. I got that part to work. I have one more question if I may. What do you mean by "wrap the shaping expressions"? If I wanted to specify just the name in my table, how would the correct formula look for that? This is what I have: Collect('Vendor Names','[dbo].[Vendors]') I have a SQL table of Vendors going to a SharePoint list called Vendor Names. I would want to specify just the name in the table.

  • Meneghino Profile Picture
    6,949 on at

     

    Collect('Vendor Names',RenameColumns(ShowColumns('[dbo].[Vendors]', MyVendorNameColumnNameInSQLServer), "MyVendorNameColumnNameInSQLServer", "MyVendorNameColumnNameInSharePoint"))

     

    See here

     

     

    Where probaly MyVendorNameColumnNameInSharePoint is just Title?

     

    PS I advise against including spaces in any list/table/column names, also do not start names with numbers...

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Ok, this is what I have: Collect('Vendor Names',RenameColumns(ShowColumns('[dbo].[Vendors]',"Name"),"Name","Vendor Names")) in which I do not get any exclamation point for errors and I published it. When I click the button, it looks like it's working on something but nothing appears in the list. Does it take awhile for items to appear?

  • Meneghino Profile Picture
    6,949 on at

    Can you confirm that you have a SharePoint list called Vendor Names (with a space) with a text column called Vendor Names (with a space)?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, that is confirmed.

  • Meneghino Profile Picture
    6,949 on at

    Then please try this:

    1. Create a label

    2. Start writing First('Vendor Names').  [including the dot at the end] 

    3. Have a look at what options appear below

     

    In the options should be the name of your Vendor Names field, but it may have special characters to substitute for the space.

     

    Is that correct?  If so, that is the name you need to use in PowerApps

     

    Please let me know how you get on.

     

  • Verified answer
    Meneghino Profile Picture
    6,949 on at

    OK, then please try this:

     

    Create a label in your app and in its Text property start typing First('Vendor Names'). [with a dot at the end]

    After you place the dot, you should see a list of options appear below, and it should include some form of Vendor Names with special characters instead of the space.

    Is that so?

    If that is the case, then that is the column name that you need to use.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard