Power Query Folder.Files

csotstot

New Member
Joined
Jun 1, 2017
Messages
24
Good afternoon...
I wanted to find out the mechanics of the Folder.FIles command.. I'm trying to buid some queries in Excel that pull files from within a folder hierarchy...Unfortunately the hierarchy is sub-optimal...There are 140 folders below the topmost folder (it's already 3 folders deep in the overall hierarchy), 120 of which are below the second level (20 folders). Total data in all folders is 8G.... It takes close to 30 minutes to compete a query that only gives a table of a file listing (with the default columns) across a 200 mb connection over VPN... I'm guessing the issue lies in recursion, but wanted to see if anyone knew precisely how the function works under the hood so that I can give a coherent explanation to my superiors for performance issues...
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,215,045
Messages
6,122,830
Members
449,096
Latest member
Erald

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