Skip to content

Changing power query data source across tables #627

Discussion options

You must be logged in to vote

Solved.
For our (single) Structured Data Source...
Azure Analysis Services deployed (not SSAS or Power BI Premium deploy)...

As I'm using the Analysis Services API to do our data refreshes (ProcessFull called from Azure Function)... I also had to extend the Release script to redundantly set database, server, and credential{username, password} directly, as well same values in ConnectionString... hence additional items added to script run at Dev or Prod deploy task in Release.

On following script...Remove line breaks for actual execution by single echo statement (breaks added for readability)

START SCRIPT

echo (Model.DataSources[0] as StructuredDataSource).ConnectionString = Environment.Get…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fausttiger007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content: power bi Discussions on Power BI topics
1 participant