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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
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 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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