Auto Refresh PivotTables & Queries not working

jayjay123

New Member
Joined
Jun 3, 2021
Messages
45
Office Version
  1. 365
Platform
  1. Windows
Hi Excel Gurus,

I created a spreadsheet...
(tab 1) - Source Data (OLD data)
(tab 2) - Source Data (NEW data)
(tab 3) - Power query to combine (tab 1+2) Old and new data
(tab 4) - I have created a pivot table based on the Power Query (tab 3).

Now when I update the data in tab 1 & 2, the Power query in tab 3 updates successfully, but the pivot tables does not (tab 4).

Is there a way to connect the pivot table successfully so that when I click "Refresh All", all data updates in the tab 3 & 4?

hope that makes sense.

thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
That is a fairly well know issue. The Pivot is refreshing before the query has finished refreshing.
The original fix was to refresh twice.
The better method is to turn off Background Refresh on the query so that it will finish refreshing the query before trying to refresh the pivot.

One way to do this is, right click on the query in the Query pane and select properties.
In the properties window uncheck background refresh.

You can read more on it at Excel Campus here
Disable Background Refresh on All Power Query Connections - VBA

PS: This only happens if you stack the Pivot on a Power Query table
It doesn't happen if get the query produce the pivot as its output or if load the query result into the data model and use Power Pivot on the data model.


1679571267292.png
 
Upvote 1
Solution

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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