Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 25sAqVeX56BlJXypGzwyUI
Power Automate - Using Flows
Unanswered

Exporting SharePoint List into new Excel table with headers

Like (0) ShareShare
ReportReport
Posted on 28 Jul 2023 23:44:32 by 7

Hi,

Im having trouble with adding rows to the new Excel table. It will either fail or timeout. I also cant add multiple filter queries with and /or commands it fails every time. Any suggestions?

jmallozzi_0-1690587516500.png

 

jmallozzi_3-1690587716175.png

jmallozzi_4-1690587731429.png

jmallozzi_5-1690587771760.png

 

jmallozzi_1-1690587535962.png

jmallozzi_2-1690587557496.png

 

  • takolota1 Profile Picture
    4,859 Super User 2025 Season 1 on 30 Jul 2023 at 18:53:36
    Re: Exporting SharePoint List into new Excel table with headers

    @jmallozzi 

    Are you sure you want to create a new Excel table for each record in your dataset?

    You may want to take that outside the Apply to each loop if you only want one table.

     

    Also it looks like you are naming the table “data” but then you are trying to use the values from the SharePoint “Name” column as the table name to send records to. You will want that Add a row action to use the table name that you created earlier in the flow, not a value from SharePoint.

  • jmallozzi Profile Picture
    7 on 30 Jul 2023 at 18:40:06
    Re: Exporting SharePoint List into new Excel table with headers

    @takolota that was very helpful and you were totally right. However, the flow simply isnt communicating with excel to export the data. The flow is working to create a new file > creating a table > adding headers but not adding the data to the rows. Im super new to Power Automate so Im sure it's user error, but I dont know what to do to fix it. 

    jmallozzi_0-1690742217236.png

     

    This is the message 

    jmallozzi_1-1690742272694.png

    jmallozzi_2-1690742328793.png

     

    jmallozzi_3-1690742347878.png

     

     

     

  • takolota1 Profile Picture
    4,859 Super User 2025 Season 1 on 30 Jul 2023 at 01:49:45
    Re: Exporting SharePoint List into new Excel table with headers

    Also @jmallozzi are you sure “Fiscal Year” is the true SharePoint column name for this? Sometimes special characters will cause issues, so you may want to go to the list in SharePoint, go to List settings under the gear icon, go to the column name to bring up the column page, then go to the end of the url for the column page to find the back-end SharePoint column name & not just the display name.

  • trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 29 Jul 2023 at 16:57:24
    Re: Exporting SharePoint List into new Excel table with headers

    Is fiscal year a number, string, or date column?  Seems to be the issue.  Always glad to help! Tom

  • jmallozzi Profile Picture
    7 on 29 Jul 2023 at 16:49:18
    Re: Exporting SharePoint List into new Excel table with headers

    Thanks for the response @trice602 !

     

    So I added the delay, however the flow keeps timing out as it attemps to "apply to each." 

     

    I attempted to add additional filter query to help limit the data being exported, but I get an error every time. 

    jmallozzi_0-1690649346439.png

     

  • trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 29 Jul 2023 at 01:24:01
    Re: Exporting SharePoint List into new Excel table with headers

    Hi @jmallozzi ,

     

    Looks like you have done a good job here.  Have you tried adding a delay in-between the create file and create table?  I've had similar problems and if my memory serves me correctly a delay helped.  Please let me know - always glad to help! Tom

     

    Also please post the screen clip of the error message.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow
Loading started