Skip to main content
Community site session details

Community site session details

Session Id : H7XSWt95QHka6Nz6z4rkqZ
Power Automate - General Discussion
Unanswered

Refreshing a SharePoint excel file with power automate

Like (2) ShareShare
ReportReport
Posted on 30 Sep 2021 19:05:17 by 58

Hi, We have a SharePoint excel file in which some new data goes each day in Sheet1. In Sheet2 of same file, we have a pivot which I want to refresh.

Is there a way to automate 'Refresh all' with Power Automate on excel placed in a SharePoint folder.

 

If not power automate any other idea to refresh the pivot so it starts reflecting the updated data. Data in sheet1 is present as Table so we are good with reference data range of Pivot as rows increases.

  • VJR Profile Picture
    7,635 on 04 Oct 2021 at 04:51:44
    Re: Refreshing a SharePoint excel file with power automate

    Hi @mayankgoyal 

    While you take a look at the two links in my post above, I found a post that has an OfficeScript to refresh all pivot tables.

    Check the post from @paulburnett224 that has 6 points here.

    The code is in point #4.

  • VJR Profile Picture
    7,635 on 01 Oct 2021 at 03:54:32
    Re: Refreshing a SharePoint excel file with power automate

    Hi @mayankgoyal 

     

    Consider writing an OfficeScript within excel online and then calling it from Power Automate

    https://docs.microsoft.com/en-us/office/dev/scripts/tutorials/excel-power-automate-trigger

    You wont need all of the code from the above link. 

     

    Recording capabilities of Office Scripts are shown here.

  • Gopala_Krishna Profile Picture
    1,491 on 01 Oct 2021 at 02:27:00
    Re: Refreshing a SharePoint excel file with power automate

    @mayankgoyal 

    Unfortunately, as far as I know there is no such feature available in Power Automate that can enable you to do this task. But can try configuring auto refresh directly from the excel file in many different ways.

     

    Here's a link to the document that explains more - https://www.techrepublic.com/article/4-tips-for-refreshing-excel-pivottable-objects/

     

    You can also upvote the idea for adding an auto refresh option for excel files from Power automate here - https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Add-in-Excel-Flow-the-ability-to-refresh-all-pivottables-and/idi-p/392897/page/2

     

    ------------------------------------------------------------------------------------------------------------------------------

    If the information shared helps you, please consider giving a thumbs up and mark solution as resolved

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2