Automatic Refresh of Pivot Table Data.

ExcelVisual

New Member
Joined
Feb 23, 2025
Messages
2
Office Version
  1. 365
  2. 2024
Hello!
To update the data visualization on all charts when using slicers with pivot table filters, I have to click twice to ensure all data refreshes without delay. However, this would be unacceptable for the dashboard user. Therefore, I used this VBA code for automatic pivot table refresh:
VBA Code:
Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
    Application.ScreenUpdating = False
    Application.ScreenUpdating = True
End Sub
The problem is that this template should not contain macros and should only use formulas and pivot tables. Question: Is there a solution to ensure that the data updates on all charts with the first click on a slicer—without using macros? For some reason, Excel only updates everything after the second click on the slicer button. Example:
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top