Power Query Tables Results

Wolfspyda

New Member
Joined
Mar 28, 2018
Messages
22
I have designed up a sheet that has a search based PQ. When you first open the sheet it automatically runs a "Refresh All Sheets" for the Power Queries. This shows a full list of all .CSV files in a specified folder (C:\CSV\). The user can then select one of these .csv files to "import". When you Refresh the queries again it generates 3 tables and this is where the problems occur.

The resultant cells in one of the Tables grow and there are only 6 cells in total (excluding the headers) for this table. The initial table size is BC2:BE3, Row 2 is the headers and Row 3 is the first cell in the table this is BC3:BE3, once the refresh Queries is performed the Table adds one additional row which is BC4:BE4. BC3, BC4, BD4 and BE4 are all supposed to be absolute cells that are referenced on another page. If I clear the search cell and refresh Queries, the absolute cell reference that looks at BC3 returns a !#REF!

I have been unable to rectify this issue and I have a massive data set that returns information for 2 other tables that would do exactly the same thing. I've tried naming the cells individually, and I've tried using the Table names and column referencing as well. The 2 larger data tables also do something very strange in that it always returns the last row of the table. Even if I tell it to look in A4 it always returns the last row of the resultant table, so it returns A343. Sidenote, the Power Query returns the full table on a separate sheet.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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