Power query code to include Source name

12Rev79

Board Regular
Joined
Mar 2, 2021
Messages
61
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Greeting Expert,

I have the power query code below that extract data from my workbooks with sheetname "Weld"
Please any help me if I need to add a code that extract data with sheetname "InstalledReport" in the code below
and secondly I want the code to include the source path in the list

Power Query:
Table.Combine(List.Transform(Folder.Files("C:\Users\06567\Desktop\25 status")[Content], each Table.Combine(Table.SelectRows(Excel.Workbook(_,true), each [Kind] = "Sheet" and Text.Contains([Item], "Weld"))[Data])))

I am using MS office 365

Please any help and thanks in advance,

12Rev79
 

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