Forum Discussion

_onto_'s avatar
_onto_
Helper I
7 months ago
Solved

report published via git integration does not render in the service but renders fine if published di

Hi, I have a report saved as a power bi project. This project is versioned controlled in GitHub and GitHub integration is configured at workspace level. Everything works as expected (changes are picked up via the integration, the workspace is synced with the repository) but the report does not render.

 

If I publish the report directly (by opening the .pbip file and publishing) the report renders correctly. But not if synced via the GitHub integration.

 

For what it's worth, whenever I edit and save the .pbip file I am prompted to confirm I want the file to be upgraded to .pbir which then successfully fails:

 

Am I missing something?

 

Thank you!

 

  • _onto_'s avatar
    _onto_
    7 months ago

    gilby - thanks for looking at this. I think I understand the issue, and it is something that one the one hand does not appear to be explicitly stated in the documentation but on the other hand it makes sense: in a PBI project folder the data is stored in ```ProjectName.SemanticModel/.pbi/cache.abf```. This file is ignored by Git by default - in other words, the data does not make it to source control (d'oh!) and so the model needs to be refreshed in the service after initially being synced from source control  - at least this is how I understand it. So seems the PBI Project approach coupled with Git integration is not applicable to models using data not accessible via the service.

     

    Thanks!

     

4 Replies

  • Hi _onto_ 

     

    Can you make sure you have got the latest version of Power BI Desktop installed and then make a change and see if that works through the integration?

    • _onto_'s avatar
      _onto_
      Helper I

      gilby - thanks for looking at this. I think I understand the issue, and it is something that one the one hand does not appear to be explicitly stated in the documentation but on the other hand it makes sense: in a PBI project folder the data is stored in ```ProjectName.SemanticModel/.pbi/cache.abf```. This file is ignored by Git by default - in other words, the data does not make it to source control (d'oh!) and so the model needs to be refreshed in the service after initially being synced from source control  - at least this is how I understand it. So seems the PBI Project approach coupled with Git integration is not applicable to models using data not accessible via the service.

       

      Thanks!

       

      • tayloramy's avatar
        tayloramy
        Super User

        Hi _onto_

         

        This is expected. Data is never stored in Git, whether that be in Lakehouses, Warehouses, or Semantic Models. GIt only stores the source code. 

         

        Refresh schedules should be set up and models should be refreshed post deployment. 

         

  • Hi _onto_ ,

    Have you had a chance to review tayloramy  response? It’s well explained, and I hope it helps clarify your issue. Please let us know if any additional details or clarification are needed.

    Thanks for your valuable response tayloramy .