Forum Discussion

jsnbravo's avatar
jsnbravo
Frequent Visitor
5 years ago

Publishing Report to Development Stage in Deployment Pipeline

We are using the new Deployment Pipeline feature in PBi Service. We already have a Production Workspace with an App that is being used by our users, hence we assigned it to the Production stage in the Pipeline. This Prod Workspace is using an Azure Analysis Services as the source of the dataset.

 

Now, we did the backward deployment to create the Development and Test workspaces. However, we are now encountering an issue when we try to publish the report to the Development workspace. We have already changed the data source of our PBIX file to the Development dataset, but when we try to publish the report, it doesn't allow us to replace the existing report as it triggers an error: "An error occured while attempting to publish report. The remote server returned an error: (409) Conflict."

 

To illustrate it better:

 

Basically what happened when I setup the Deployment Pipeline (note: we did the backward deployment from Prod > Test > Dev) is that:

  • we still have the AAS as the main data source
  • PROD
    • AAS feeds to a Dataset 1
    • Report is connected to Dataset 1
  • TEST
    • same AAS feeds to a Dataset 2 (Dataset 2 was automatically created when I did the backward deployment from Prod to Test)
    • Report is connected to Dataset 2
  • DEV
    • same AAS feeds to a Dataset 3 (Dataset 3 was automatically created when I did the backward deployment from Test to Dev)
    • Report is connected to Dataset 3

When I look at the Deployment Pipeline, there's no difference between each stage. The Compare function shows a checkmark for Dev-Test and Test-Prod. Now that I already have the 3 workspaces, the natural flow of development is to update the Report in Dev, right? However, I cannot because of the said error.

 

How then can we use the Development workspace to build on top of our existing reports?

7 Replies

  • If I understand correctly, you have a pipeline setup for say x (report and dataset)

    Now you have an x.pbix file where you live connected to x dataset in your development workspace

     

    I don't believe you want your x.pbix file live connecting to the dataset, that would make it a different dataset than what your pipeline was setup for.  I think the error is likely due to you having your pbix file named the same as what is in the pipeline and the conflict may be that it can't live connect to itself

     

    I think if you want reports that share (i.e.) live connect to a dataset, then they should be setup in their own pipeline

     

     

     

    • jsnbravo's avatar
      jsnbravo
      Frequent Visitor

      Not quite. Basically what happened when I setup the Deployment Pipeline (note: we did the backward deployment from Prod > Test > Dev) is that:

       

      • we still have the AAS as the main data source
      • PROD
        • AAS feeds to a Dataset 1
        • Report is connected to Dataset 1
      • TEST
        • same AAS feeds to a Dataset 2 (Dataset 2 was automatically created when I did the backward deployment from Prod to Test)
        • Report is connected to Dataset 2
      • DEV
        • same AAS feeds to a Dataset 3 (Dataset 3 was automatically created when I did the backward deployment from Test to Dev)
        • Report is connected to Dataset 3

      When I look at the Deployment Pipeline, there's no difference between each stage. The Compare function shows a checkmark for Dev-Test and Test-Prod. Now that I already have the 3 workspaces, the natural flow of development is to update the Report in Dev, right? However, I cannot because of the said error.

      • blopez11's avatar
        blopez11
        Icon for Super User rankSuper User

        Ah, got it

        You have got it setup how we do, except we didn't setup a dev workspace, we stopped at test

         

        You should update both the report and associated dataset (dataset 3), all contained within same pbix file, to the dev workspace

         

        So if your pipeline has "X" report and "X" dataset across the dev, test and prod workspaces, your "X".pbix file, which has the "X" report and "X" dataset all in the pbix file, can be published to the dev workspace