Power query not picking up extra data in Excel table.

farmerscott

Well-known Member
Joined
Jan 26, 2013
Messages
824
Office Version
  1. 365
Platform
  1. Windows
Hi Everybody,

I am using Excel 365.

On a sheet I have a table that I add data to. When I look at its dimensions, it increases as data is added.

However, my query within power query does not pick up the extra rows. The query is based upon the table not the sheet.

Manual refreshing does update any new rows.

My table is 160 rows by 9 cols, so I am sure I am no maxing out Excel's capabilities.

Any ideas?

thanks,
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
It needs a refresh like you describe
 
Upvote 0
Hi JC,

unfortunately a refresh does not pick up the extra data.

thx.
 
Upvote 0
What's the query code?
 
Upvote 0
What's the query code?
Hi RoryA,

Here is the first step in the "Applied Steps". It is pointing to the right file.

Code:
= Excel.Workbook(File.Contents("C:\Users\agreenep\Documents\Scott\Ravensworth\Ravensworth Cotton 2024.xlsx"), null, true)

and then I have as the next step, which looks OK.

Code:
= Source{[Item="TruckingData",Kind="Table"]}[Data]

All other code I have is about manipulating the data.

Hope that helps.
 
Upvote 0
So your query is in a different file? Are you certain that the additional rows are in fact part of that table, and that the source workbook has been saved?
 
Upvote 0
RoryA,

1. The query and the data are in the same file.

2. Yes, I have saved the file and done a refresh but nothing changes.

3. When I check, the table has expanded (from new data) via "Name Manager", it shows the right dimensions of the table.

Hope that helps.
 
Upvote 0
If they are in the same file, why aren't you using Excel.CurrentWorkbook?
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
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