Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Native Git Source Control – Report_Import_FailedToImportReport

Hi, We have configured native Git integration with Azure DevOps and Power BI. Previously, there was a split between the Dataset and Report, with the Report .pbix live connected to the Dataset. Let’s...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Thank you for guiding us. We tried many different ways of solving this based on your recommendation, and this is the solution that worked for us: Probably not the best workaround solution, but at least it works.

     

    1. Disconnect workspace from Git
    2. Save as .PBIP and put the folders and files in a separate local folder that is not the local Git folder.
    3. Publish from PBI desktop to correct workspace that we disconnected in step 1.
    4. Connect workspace to Git again.
    6. Sync content from PBI Services to Git.
    7. We are missing the .PBIP file in our local git folder so we need to fix this. 
    8. To solve this we do a pull request from VS Code instead of doing a clone of repository.
    9. We do a manual copy of the .PBIP file, we used in step 3, to our local Git folder.
    10. We need to process the data in the local PBI model otherwise we get a conflict in PBI services.
    11. Commit as usual and then we have the pbip file and everything is working as intended. We can now sync content between Git repo and PBI Services.