Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

Refreshing a SharePoint excel file with power automate

(2) ShareShare
ReportReport
Posted on 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 at
    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 at
    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 at
    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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1