Power Query - Changing Source

canefan17

New Member
Joined
Jan 27, 2015
Messages
14
Right now I've set up the query to pull form a folder.

However, I'd like to move the files to a different folder/location. So I went ahead and did that.

Then I went into query editor and double clicked on "Source" under applied steps. I changed it to the new folder and hit "OK."

I get this error though...

An error occurred in the ‘Sample File’ query. Expression.Error: There weren't enough elements in the enumeration to complete the operation.
Details:
Table
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
You have to change the source on every single query that is connected to your old source. The first reply to your post explains it in great detail but all you have to do is look at all of your queries in the query pane, find the transform from sample file queries, click into those, click that gear icon in that query and update your source there. You have to do it for each query in the transform and sample file folders that show up
 
Upvote 0
You have to change the source on every single query that is connected to your old source. The first reply to your post explains it in great detail but all you have to do is look at all of your queries in the query pane, find the transform from sample file queries, click into those, click that gear icon in that query and update your source there. You have to do it for each query in the transform and sample file folders that show up

Wow - that’s good to know.

I really appreciate it.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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