Please help on Pivot Table Refresh online

PBIX MM 1 Reputation point
2022-07-29T16:58:13.097+00:00

Hello,

I'm having issue with refreshing pivot tables using Excel Online.
The pivot tables are built using data model with data source from the tables in existing workbook.
When I refresh manually using "Refresh Selected Connection" it works perfectly.
226169-microsoftteams-image.png

But when I refresh using office script, it doesn't work.

226219-microsoftteams-image-1.png

Any help, please!

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,532 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,649 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Petra Ronald 26 Reputation points Microsoft Employee
    2022-08-02T13:28:46.067+00:00

    Hi, @PBIX MM
    Currently, Power Query and pivot table refresh is not supported for Office Scripts. We track Office Scripts feature requests here: http://aka.ms/ExcelSuggestions. It looks like this feature has already been requested by others: https://feedbackportal.microsoft.com/feedback/idea/29b33e9d-262e-ec11-b6e6-00224827bbc2. Please upvote this existing request as these requests are considered when we go through our planning process.
    Thanks,
    The Office Scripts team