Skip to main content

Notifications

Community site session details

Community site session details

Session Id : dv4Hp4PeDwcxpa9YSOETKK
Power Automate - Building Flows
Answered

Building a flow to populate an excel spreadsheet from sharepoint list

Like (0) ShareShare
ReportReport
Posted on 14 May 2020 03:46:05 by 23

I am trying display my SharePoint list in an excel spreadsheet for reporting to a client on various items.

 

The SharePoint list is being auto-populated (new items added) by a flow when a form gets submitted.

 

the list is also being updated manually when a status is changed.

 

I have a spreadsheet (table1) with data from the SharePoint list as a start. And I have followed some instructions to complete a flow, but it is failing.

 

Can anybody help? Here are some screen shots of the flow for a more complete illustration.
screen shots 

  • Verified answer
    v-litu-msft Profile Picture
    on 15 May 2020 at 02:08:03
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    Hi @kirstenk2020,

     

    When an item updated or created, it just one item comes, if you update an existing item in the list or create a new item, it just will run once.

    If it is updated, according to the Key value ID is enough:Annotation 2020-05-15 100105.jpg

    If you add the Apply to each surround the Add a row and Update row action, it will run many times, the number is the whole rows in Table 1 of the CIT_issues_report.xlsx:Annotation 2020-05-15 100447.jpg

    So, what you want is to add multiple repeat rows when an item created? Not really, right? So, please just have a test, thank you.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • kirstenk2020 Profile Picture
    23 on 14 May 2020 at 21:58:49
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    I am rather confused, if I don't have an apply, how would the spreadsheet update with the changes?

  • v-litu-msft Profile Picture
    on 14 May 2020 at 09:31:38
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    Hi @kirstenk2020,

     

    Yes, I know, I mean just delete the Apply to each action 2, or delete the two Apply to each all. The Add a row into a table action and update a row action should be kept. 

    The reason for the Flow will fail maybe caused by apply to each 2 action.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • kirstenk2020 Profile Picture
    23 on 14 May 2020 at 09:14:38
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    I thought that I needed two branches, as if there is a new row, I want to create another SP item, and / or if there is a change to any of the SP items, I want the change to be reflected in the excel table.

  • v-litu-msft Profile Picture
    on 14 May 2020 at 08:57:27
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    Hi @kirstenk2020,

     

    You could just delete the Apply to each 2.

    In fact, I don't think we need either Apply to each. Because of the newly created item always one.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • kirstenk2020 Profile Picture
    23 on 14 May 2020 at 08:26:24
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    Thanks for your response @v-litu-msft, do you mean that I should remove only the Apply to each 2 under the branch for If No?

    Do I leave the other one?

     

     

     

  • v-litu-msft Profile Picture
    on 14 May 2020 at 07:08:11
    Re: Building a flow to populate an excel spreadsheet from sharepoint list

    Hi @kirstenk2020,

     

    Thanks for your screenshot, please try to remove the two Apply to each action in the two branches of condition action:Annotation 2020-05-14 150519.jpg

     It's unnecessary to add it cause you just want to update one row in the Excel file.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 39

#2
Churchy Profile Picture

Churchy 20

#3
Chriddle Profile Picture

Chriddle 19 Super User 2025 Season 1

Overall leaderboard