Can queries be made in bulk?

Monsignor

Board Regular
Joined
May 30, 2011
Messages
162
Suppose I have 30 tables to append in Power Query. Does there have to be 30 separate queries made, or is there a way to make 30 queries all at once?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I just noticed that another way to make a heap of queries quickly is in the Navigator pane "select multiple items."
This would make all the queries even if they aren't going to be combined with each other.



select-multiple.png
 
Upvote 0
Hi
My query uses tables which
1. have table name which starts "Name" (TableNameStartsWith variable).
2. have a column with Name which starts "Names" (ColumnNameStartsWith variable).
For example tables OherTable and Names5 were skipped.
Zippyshare.com - Names PQ Append.xlsx
Regards,
 
Upvote 0
Thanks for this. I changed one of the names of the tables to 'People' and it's no longer in the final list. Good. That helps me understand what's going on in your code.
 
Upvote 0

Forum statistics

Threads
1,216,033
Messages
6,128,427
Members
449,450
Latest member
gunars

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