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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TrevorC
Advocate I
Advocate I

Changing the data source from model file in test to dev creates duplicate file in service

I have a model file that I use as a data source in a seperate report. I just realised that I had accidentally published the first version of the report with the data source pointing to the model file in Test. I want to change the data source to point to the version in Dev. When I do this and republish the file the service sees it as another file. This breaks the Power BI App. Is there a way to prevent this from happening?

 

Here is a link to a page describing the process: https://docs.microsoft.com/en-us/power-bi/guidance/report-separate-from-model

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @TrevorC 

 

Unfortunately this is by design that a new or different data source is treated as a different file (GUID)


The best thing I can suggest is to upload the correct file and then update the app to reflect the changes. 

If people use the Power BI App that should be fine because the name will still look the same.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @TrevorC 

 

Unfortunately this is by design that a new or different data source is treated as a different file (GUID)


The best thing I can suggest is to upload the correct file and then update the app to reflect the changes. 

If people use the Power BI App that should be fine because the name will still look the same.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I guess that makes sense. It would prevent overwirting files by mistake and mistakes happen just as it did with me using the wrong data source. 

 

I have tested and found that if a user has bookmarked a report in an app the booke mark will also break when changing the data source and publishing the new app. This is because the bookmark references the GUID as well. Of course executives are the ones who bookmarkthings most oftern...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors