Refreshing Blank Query - Duplicates

android1

Board Regular
Joined
Feb 12, 2016
Messages
69
Hi,

I have combined all tables in an excel files using the blank query -> =Excel.CurrentWorkbook()

If I click the refresh icon it will duplicate all the loaded rows. How do i avoid this & only load newly added rows?

https://www.dropbox.com/s/h5rlmhbjac4xetk/refresh.png?dl=0



refresh.png
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Power Query will load all the data in the source, once and only once. When new data arrives at the source, Power Query deletes all data previously loaded and reloads everything again including the new data. If there are duplicates, either there are duplicates in the data or you have duplicate queries
 
Upvote 0
Hi,

I have combined all tables in an excel files using the blank query -> =Excel.CurrentWorkbook()

If I click the refresh icon it will duplicate all the loaded rows. How do i avoid this & only load newly added rows?

refresh.png



refresh.png
Hi android1, I know it's an old post but it might help someone.

Copy the final table name, go back to query, go to 1step (Source), click the Name column (displaying Tables name),filter Text ->Not Equal to -> give your final Table name-Load and close.

Now refresh as many times as you want. This is due to Recursion in PowerQuery.
 
Upvote 1
Hi android1, I know it's an old post but it might help someone.

Copy the final table name, go back to query, go to 1step (Source), click the Name column (displaying Tables name),filter Text ->Not Equal to -> give your final Table name-Load and close.

Now refresh as many times as you want. This is due to Recursion in PowerQuery.
This is exactly what I was looking for. Thank you.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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