cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kkalyanthaya Frequent Visitor
Frequent Visitor

Re: Change pbix data source programmatically

Did this work ? I get an error message saying corrupted file or file created from unsupported version of Poewr BI.

kkalyanthaya Frequent Visitor
Frequent Visitor

Re: Change pbix data source programmatically

@v-shex-msft,

 

Can this method be used as a way to share templates / content packs to connect to different sources ?

The history behind this question is here.

modelmike Frequent Visitor
Frequent Visitor

Re: Change pbix data source programmatically

I was able to solve this problem using a paremeter in Power Query. The parameter is set to the users dropbox "home" local folder. Then, when I share the PBT file it prompts the user to enter their specific filepath before creating their user-specific pbix. This isn't quite automagical but it does the job. 

Highlighted
gaurav11aug Occasional Visitor
Occasional Visitor

Re: Change pbix data source programmatically

can we rename power bi embedded report using asp.net mvc

OShon Occasional Visitor
Occasional Visitor

Re: Change pbix data source programmatically

Hi. I copy File pbix with the xlsx file to another computer and I want to refresh BI file using .net. How can I modify DataMashup file or another way to refresh connections? I do not want to use interface, to swap data source file. Some one of you try this before?