Forum Discussion
aroyappan
9 years agoFrequent Visitor
Update connection string of PBIX file
Hi All, I'm new to power bi. We have multiple clients consuming different database with same schema. I couldn't find a way to dynamically update connection string after publishing the report to P...
Eric_Zhang
Microsoft Employee
9 years agoAFAIK, there's no way to change the connection string in the pbix file, you can check this idea Power BI Designer API and vote it up.
To update the connection string of a published dataset, you can check this API SetAllConnections, note that this API can only be called DirectQuery dataset.