Forum Discussion

timhopson's avatar
timhopson
Helper I
6 years ago

Issue when publishing report that uses shared dataset

I have 3 reports that share the same dataset. The reports and dataset all reside in the same new experience workspace.

 

The problem I'm having is when I make changes to these reports from PBI Desktop and republish, I get a new version of the report which also has its own dataset. The original report remains unchanged still linked to the shared dataset. 

 

Is this expected behaviour? I've not yet found anything online that describes what I'm experiencing. I'd really appreciate some help.

 

The steps I follow are:

1. Open report in PBI Service and download the .pbix file.

2. Open the .pbix file locally using PBI Desktop and make my changes to visualations. I'm not (as far as I know) making changes to the data model.

3. Click PUBLISH, select the current workspace.

 

Result

- A new version of the report appears in the workspace along with its own new dataset.

- the original report remains unchanged still linked to its shared dataset

 

I can make minor edits to the reports using the online editor in PBI Service. That works fine. I simply save the report.

 

 

9 Replies

  • Hi timhopson,

     

    Don't know how you have setup your reports, but if you are publishing a new version of the report are you making changes to the name?

     

    You need to make the upload of the report with the exact same name and it will ask you to overwrite the databsase you say yes and you will keep the same database and not create a new one.

     

    • timhopson's avatar
      timhopson
      Helper I

      Hi Miguel, thank you for taking the trouble to reply. 

       

      One of my reports for example is called Stock Management. This uses a dataset which is called 'COVID-19 Orders'.

       

      I just tried the following...

      1. I opened the Stock Management report in PBI Service and selected the option to download the .pbix file

      2. This was downloaded and had the same name as the report.

      3. I opened the pbix file in PBI desktop and made no changes but simply clicked PUBLISH

      4. It asked me to confirm the workspace

      5. It didn't ask me to replace the dataset.

      The result is that I get a new data set and report with exactly the same name as the original report....

      • MFelix's avatar
        MFelix
        Super User

        Hi timhopson ,

         

        Did you rename your reports on the web service or did you create them on the web service?

         

        You need to publish with the same name of the database.

         

        Another option when creating new reports is to use the Power BI datasets that way the connection will be made directly to the dataset and you will not get the same issue, again this is for new reports.

  • qbit717's avatar
    qbit717
    Regular Visitor

    Not sure if this got solved in the end...but thought to put something down as I had the same issue. timhopson my BI service setup is exactly the same.

     

    One dataset - 3 reports. I managed to update the reports by downloading the dataset and modifying the default (or original) report that gets downloaded with it (one of the 3). When I republished, it updated the dataset in BI Service - BI service took a bit of time (5min-10min) to sync the changes across to the other two reports connected to the same dataset. 

     

    The other reports have different filters set from the report that was downloaded with the dataset, but luckily the way the filters work in those reports, doesn't require further change.