1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Power query multiple workbooks and sheets

Our take

Combining multiple workbooks and sheets in Power Query can be challenging, especially for newcomers. It sounds like you're on the right track by using the Excel.Workbook function and filtering your desired sheets. However, to extract data from all selected sheets, ensure that after filtering, you expand the resulting table to include the data columns you need. Instead of just loading individual worksheets, apply transformations to consolidate the data across all selected sheets before closing and loading.

I am trying to combine multiple workbooks that have multiple sheets but I am missing a step.

Get data, from file, from folder and open. Transform. Add custom column (=Excel.Workbook([Content]). I select data, item and kind from the custom drop down. Then I filter item to select the specific sheets I want. Close and load. When I do this, I only get the filepaths of the sheets I selected.

I tried the same steps, but I clicked on the "Table" link in the custom data column before close and load. It brings up the data for that worksheet and it's correct. But when I then close and load, it will bring up the actual data, but only for that worksheet that I looked at. How do I get the *data* from all the worksheets that I selected in custom data to load. Or am I completely off base?

Thanks! This is my first foray into power query and it's a bit daunting.

submitted by /u/Choice_Intention_778
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#Excel alternatives for data analysis#generative AI for data analysis#big data management in spreadsheets#conversational data analysis#real-time data collaboration#intelligent data visualization#data visualization tools#enterprise data management#big data performance#data analysis tools#data cleaning solutions#google sheets#natural language processing for spreadsheets#Excel compatibility#Excel alternatives#rows.com