Forum Discussion
Connection String for Embedded report which uses DirectQuery
- 10 years ago
Yes that will work as it retains the connection string from the .pbix file you upload. If you want to programmatically change the connection string (e.g. to switch between DEV/TEST/LIVE) then I believe this should help?
https://msdn.microsoft.com/en-us/library/azure/mt711505.aspx
Hey, I also am having a problem here, just wondering, did you find the right format ? or a workaround ?
- gjross10 years ago
Advocate II
I built a new workspace and ran the project again, this time, when running Option 7, I only updated the username and password. I hit enter to skip updating the connection string - and it worked.
- Brian_M10 years ago
Continued Contributor
Yes that will work as it retains the connection string from the .pbix file you upload. If you want to programmatically change the connection string (e.g. to switch between DEV/TEST/LIVE) then I believe this should help?
https://msdn.microsoft.com/en-us/library/azure/mt711505.aspx
- gjross10 years ago
Advocate II
Perfect, thank you.