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!

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
Developer technologies | Visual Basic for Applications
{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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.