Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
NuTek
Frequent Visitor

Changing datasource when using Power BI Live Service dataset

Our Power BI environment has a DEV group and Prod group. Users run their reports from Prod, and

developers create reports in the Dev group and then use the File->Options and Settings->Data source settings to

change the report to point to the Prod database, save the  report and then publish to the Prod group.  This has been working fine.

 

We are now trying to build reports using a single Power BI Live Service dataset functionality.  We have the same dataset

defined in Prod and DEV groups (each being refreshed via the Gateway from the Prod or Dev databases).  

We created a report using the DEV dataset under the DEV group.  We now want to publish that report to the Prod group,

but it will not let us. It will only let us publish to the group where the underlying dataset was originally from.  I tried to

use the "File->Options and Settings->Data source settings" to see if I could change the source of the underlying dataset, but that function is greyed out.

 

How can I publish my report to the Prod group and ensure it is using the Prod instance of the dataset?

I do not want to have to recreate the entire report as that seems error prone.

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Try this. Create a new PBIX that connects to your prod system. Copy the PBIX to a .zip file. Open the zip file and copy the Connections file. Copy the dev PBIX file to a zip file. Replace Connections file with the copied one. Copy this PBIX back to a PBIX with a different name for prod. Might work.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Tried doing this but I get an error message when I tru to open the newly created PBIX file.

"Test.pbix is corrupt ot an invalid report file".   Perhaps there are checksums that no longer match

once I replace the Connection file?  

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors