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 Automate / Sharepoint List to Exc...
Power Automate
Suggested Answer

Sharepoint List to Excel Table

(1) ShareShare
ReportReport
Posted on by 2
Hello,
 
New to Power Automate and am trying to essentially pull down all the data from a Sharepoint List and add that data to an Excel file table in the Sharepoint. Eventually this file would be emailed to users.
 
I'm having a very hard time getting the rows to add properly in the existing table. The data populates but when it adds it looks like it's all headers formatting. Any ideas?
 
Steps I have
1. Get File Data - pulling from the Sharepoint
2. Select - from get data
3. Initialize variable - "Vararray
4. Set variable - based on "output" from select function (#2)
5. For each (varArray)
5A. Add a Row into Table
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi 
     
    Why do you say, get file data? Do you mean Get Items? as they are 2 different things so I assume you are getting items, not getting file data
    Why are you shoving stuff in an array and then looping, just loop through the Select output
     
     
    Sorry I do not understand this comment
    "I'm having a very hard time getting the rows to add properly in the existing table. The data populates but when it adds it looks like it's all headers formatting. Any ideas?"
     
    What do you mean? It looks like Id's just fine and dates just fine? Can you Change some of the data so you dont have to hide it so I can see what you mean please.
     
    I mean your code looks just fine (needs error handling before i'd approve it for production) but it looks just fine.
     
    Why even do a Select? why not just look through and use the Add data, and assign each row.
  • Suggested answer
    AnnaAutomates Profile Picture
    2 on at
    Hi, 
     
    I may be misunderstanding, but I think there could be a simpler way of getting your SharePoint list information into Excel.
     
    Example SharePoint List:
     
     
    Use Get Items and Add rows to table. Specify the table and then map the SharePoint Columns to the Excel Table columns:
     
    Output into Excel:

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard