How to auto-refresh Pie Chart in Excel when data is updated by Process Studio?

I am using AutomationEdge Process Studio to write/update data into an Excel file using a template. In the same Excel file, I have created a Pie Chart based on this data.

Currently, whenever Process Studio adds new rows or updates the data, I have to manually refresh or reselect the data range for the Pie Chart in Excel.

I want the Pie Chart to refresh/update automatically whenever Process Studio updates the Excel data.

Please suggest the recommended solution for this use case.

When you create a Pivot Chart, Excel automatically creates an associated Pivot Table in the sheet (or in a new sheet). The chart is always linked to that Pivot Table.

Therefore, even if you are mainly using a Pivot Chart, the actual data refresh happens at the Pivot Table level.

Recommended approach:

  1. Open the Pivot template file.

  2. Locate the automatically created Pivot Table (linked to the Pivot Chart).

  3. Right-click on the Pivot Table.

  4. Select PivotTable Options.

  5. Go to the Data tab.

  6. Enable “Refresh data when opening the file.”

  7. Click OK and save the template.