Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Power query source, change folder path

$
0
0

For a data flow, I use the power query source for getting json data in a table format.

That works like a charm if i don't change the folder path on the connection manager. If I change the folder only in the connection manager to another folder, there always is an error "Credentials are required to connect to the Folder source: 'old path to folder'".

That's probably because in the power query is still the old path. e.g. the query looks like this:

let
    Source = Folder.Files("D:\StageTransfer\MedicationBilling\Data")

....

Probably I could do a workaround, if I change the query mode from "single query" to "single query from variable", but then, I have to escape every quotation mark in the query, making the query unmaintainable.

Does anybody have the same problem and has another solution for that?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>