Enhancing the Performace of Query for huge excel data

Chandna

New Member
Joined
Jan 16, 2015
Messages
6
Hi,
We do have 1000 excel files in a folder and each excel contains one spreadsheet with 15000 rows of data. We were reading the data from these 1000 files into a single excel sheet using POWER QUERY. For this we got a memory out of bound exception due to limited number of rows in a single excel sheet.:mad:
Our motive was,
STEP1: To read the data from all files and apply text filter on the entire data together.
STEP2: To find the count of the filtered rows (maximum will be around 2000).
There are additional functionality is to be performed, but this is currently out of scope of this query. Since, we are stuck at the initial step itself.
Alternative way,
We thought of another way wherein we thought of the following steps:
STEP1: To apply text filter on the data of each excel file individually.
STEP2: Combine the filtered data from every sheet into a single excel sheet.
STEP3: Find the number of rows.
Could you please tell me how to loop through each file in the folder and apply filter over each. Basically we want to know if the Step 1 is achievable using POWER QUERY.
If not kindly, suggest any other way to find the solution for the problem statement.:confused:
 
Last edited:
Of course, if it is your first save of query, you can choose where you want to upload the result.
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
By default a new sheet use to get created whenever we close and load the query.
This time we are facing the issue when we are selecting the data from the current sheet instead of an external source.
Save n load is not loading the output into a new sheet
 
Upvote 0
If you have that much data, I certainly be loading it into Power Pivot instead of a table.
 
Upvote 0

Forum statistics

Threads
1,224,060
Messages
6,176,145
Members
452,707
Latest member
laplajewelry

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