Share via

Power query from folder, not all sheet data required

Anonymous
2022-04-29T01:05:10+00:00

Hi,

I have a power query which looks into a folder containing multiple workbooks that all have an identical structure.

The query takes a long time to run because it seems to find ALL the data from every sheet before I filter which sheets I actually need data from.

below is the custom column I have which finds the sheet names.

The only sheet I want to extract data from is named "JDE Job Setup" in every workbook.

Is there a way to only find the data in these sheets in order to speed thing up?

any help will be much appreciated.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2022-04-29T02:50:12+00:00

Hi Matt,

Please see below formula:

Excel.Workbook(

File.Contents([Folder Path] & [Name]), null, true 

){[Name ="JDE Job Setup"]}[Data]

Regards

KT

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful