Power Query - Connection Only to a new Excel file

jon999

New Member
Joined
Aug 24, 2015
Messages
37
Hi

I have an excel file that has many Queries that are only a connection. I have set up a the new excel file (no queries) and want to import (through New Query) the Connection only queries. Is there a way to do this or does it need to be loaded as a table in the other excel file for the import to work.

Thanks

Jon
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Do you want to import the queries or the data into the second workbook? If the queries, you can go to the advanced editor for each query, copy the query and then paste into a blank query in the new workbook. If you just want the data, you will need to materialise the data into Excel or Power Pivot to be able to get at it.
 
Upvote 0
Hi Matt

Thanks for replying to my question.

I just want to import the final query after all the applied steps. So when I go to Data, New Query, From File, From Workbook then be able to select the Connection and not just the sheets or tables. Is this possible or does the query have to be loaded as a table and not a connection.

Thanks

Jon
 
Upvote 0
You can either
1. copy the query (the set of instructions) and load it (the instructions) as a new blank query, then execute the query to load the data.
Data\New Query\Other Sources\Blank Query. Go to View\Advanced Editor and paste the query steps.

or

2. Materialise the data in the original file workbook and then import the data from the file.
Set the query in the original file to load to a table in Excel. Then in the new workbook
Data\New Query\From File\Excel Workbook and import the data from there.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,050
Members
449,206
Latest member
Healthydogs

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