Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello community, My problem is the following, I have 200 reports in power bi desktop with a data source and I need to publish using a gateway on premise in the production environment that has a data source different from my reports and can not be changed also can't create new data source in gateway by client policies... I am investigating power bi api rest
http://docs.powerbi.apiary.io/#reference/datasets/update-all-connection-strings
to update the dataset but the code does not work for me, I do not know how to perform the post method in . net..
Solved! Go to Solution.
@KRONOS wrote:
Hello community, My problem is the following, I have 200 reports in power bi desktop with a data source and I need to publish using a gateway on premise in the production environment that has a data source different from my reports and can not be changed also can't create new data source in gateway by client policies... I am investigating power bi api rest
http://docs.powerbi.apiary.io/#reference/datasets/update-all-connection-strings
to update the dataset but the code does not work for me, I do not know how to perform the post method in . net..
If you don't have coding skill, you can use some REST API console like postman. Note that the Set All Connections only works for the datasets in DirectQuery mode. For import mode, there's no way to update the connection string, AFAIK.
Steps to perform the post method in postman. Where to get a bearer token?
A sample connection string for SQL Server database.
{
"connectionString": "data source=wx-sql-test-01;initial catalog=UserVoiceDB;persist security info=False"
}
At last, add a datasource in the gateway for the datasource in the new connection string.
@KRONOS wrote:
Hello community, My problem is the following, I have 200 reports in power bi desktop with a data source and I need to publish using a gateway on premise in the production environment that has a data source different from my reports and can not be changed also can't create new data source in gateway by client policies... I am investigating power bi api rest
http://docs.powerbi.apiary.io/#reference/datasets/update-all-connection-strings
to update the dataset but the code does not work for me, I do not know how to perform the post method in . net..
If you don't have coding skill, you can use some REST API console like postman. Note that the Set All Connections only works for the datasets in DirectQuery mode. For import mode, there's no way to update the connection string, AFAIK.
Steps to perform the post method in postman. Where to get a bearer token?
A sample connection string for SQL Server database.
{
"connectionString": "data source=wx-sql-test-01;initial catalog=UserVoiceDB;persist security info=False"
}
At last, add a datasource in the gateway for the datasource in the new connection string.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 17 | |
| 15 | |
| 14 |