PowerQuery Tables not refreshing like they should

rizzo93

Active Member
Joined
Jan 22, 2015
Messages
303
Office Version
  1. 365
I'm having trouble getting my data to refresh in my powerquery tables.

I start with a data connection using a SharePoint list. Then I make a powerquery table from that to modify what I need.

Then I have another powerquery table that merges that table. It's this last table that doesn't always refresh with changes made from the source in SharePoint each time I refresh.

It takes two maybe three times of refreshing everything that the changes finally show up in my table.

The code I'm using to refresh is:
VBA Code:
ActiveWorkbook.Connections("Query - q_Comments").Refresh

Any idea of why this occurs?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I wonder if it's perhaps that I'm referencing query tables instead of just duplicating them. I thought referencing connected the duplicate back to the original query table and would update automatically.

In any case, does anyone know the difference/impact to referencing a query table versus duplicating it?
 
Upvote 0

Forum statistics

Threads
1,225,531
Messages
6,185,485
Members
453,297
Latest member
alvintranvcu123

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