cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Improve Report Deployment on Power BI Report Server

When deploying or migrating reports to a new Power BI Report Server, the server name in the pbix file does not get updated.   As a result, after deploying reports, each report must be opened manually in Power BI Desktop and the server name manually edited.   Otherwise, when a user selects 'Edit in Power BI Desktop' the report will still be point to the old server. 

 

Currently, every time we migrate to from Dev to Test to Stage to Prod we must tediously update the server names in each report.   And then we must do this again when we deliver to customer sites.    

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

The reports deployed to report server will use the same connection information for data source as in desktop. In your scenario, when you move the report from Dev to Test, please open the report in desktop within the Test environment and change data source points to the data source within Test environment, then publish the report to Test report server. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Qiuyun,

 

We can change the connection information on the report server but that does not change it in the .pbix file.  Even after changing the connection on the report server when we select "Edit in Power BI Desktop" the report that is opened is still pointing to the server from Dev.

 

What you suggest is true, "open the report in desktop within the Test environment and change data source points to the data source within Test environment, then publish the report to Test report server. "  However, this is an manual process, we have 25 semantic models and over 60 reports, doing this on each report is not a workable solution.   We need a way to automate the delivery of the reports and the updating of the connection information.    In addition, we are an ISV and we want to deliver our reports to 100s of client's and currently we need to update the connection information manaully for each customer.  Potentially,  100x60 = 6000 manually updates. 

Hi @Anonymous,

 

Please try the Set-RsRestItemDataSource method listed here: https://github.com/Microsoft/ReportingServicesTools

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors