Forum Discussion

RossEdwards's avatar
RossEdwards
Solution Sage
3 years ago

Power BI with Git. Is Visual Studio code mandatory?

I'm testing out using GIT for source control with Power BI.  I've saved out a project into PBIP and placed it into a C:\ repository folder.  My computer is already configured with GIT for windows and I've been able to successfully take my PBIP files and sync them to my Azure Dev Ops.

 

When my Power BI Workspace attempts to sync the file from Azure DevOps, the process fails with an error:

Workload Error Code Workload_MissingFileFromDefinition

Workload Error Message The following file was not found: 'FlowVisual_C29F1DCC_81F5_4973_94AD_0517D44CC06A/resources/FlowVisual_C29F1DCC_81F5_4973_94AD_0517D44CC06A'

 

The model appears in the workspace listing, in a status of uncomitted, but not the report.

 

All of the instructions to setting up this process use Visual Studio code.  Does Visual Studio do something special with Power BI Projects?

If no, the other notable things with this project file:

* Model uses a Power BI Data Flow (Gen 1) as a source.

* Report contains 1 custom visual (Drill DownTimeSeries PRO by ZoomCharts).

 

I checked the limitations found here: Power BI Desktop projects (PBIP) - Power BI | Microsoft Learn

None of those applied to this file.

10 Replies

  • RuiRomanoMS's avatar
    RuiRomanoMS
    Microsoft Employee

    It seems like you have a private custom visual (FlowVisual_C29F1DCC_81F5_4973_94AD_0517D44CC06) being referenced in report.json that no longer exists.

     

    Please check if your report is referencing any custom visual and that the custom visual exists in \CustomVisuals\...

    • RossEdwards's avatar
      RossEdwards
      Solution Sage

      The only custom visual in our project is Drill Down TimeSeries PRO by ZoomCharts.

       

      Opening the project in Power BI Desktop does give a message "This report contains a custom visual that needs to be saved. Planning to work offline? Save it first, while you're online."  It doesn't provide any instructions on what it means. Saving the pbip file does nothing.  The ... menu on the visuals don't provide any obvious action.

       

      I've tried adding the visual to the project again, its detected that there is an updated version, which i've allowed it to update.  This has had no effect and the error still comes up:
      "

      Workload Error Message The following file was not found: 'FlowVisual_C29F1DCC_81F5_4973_94AD_0517D44CC06A/resources/FlowVisual_C29F1DCC_81F5_4973_94AD_0517D44CC06A'

      Time Wed Sep 20 2023 08:38:38 GMT+1000 (Australian Eastern Standard Time)"

       

      My guess is i need to understand what this saving of the visual offline means.  Power BI isn't being helpful here.

      • RuiRomanoMS's avatar
        RuiRomanoMS
        Microsoft Employee

        Sorry that you are having a bad experience, but looks like the report.json got into a faulty situation or there is a bug with the PBIP format and custom visuals.

         

        Can you please share with me a version of the FlowVisual custom visual .pbiviz file? Or a version of your PBIX/PBIP?

         

    • RossEdwards's avatar
      RossEdwards
      Solution Sage

      In my particular case, the issue was the PowerApp visual, which used to be considered a "custom visual" from the store but was incorporated into Power BI more natively.  Something about that caused the problem.  We sent our file to Microsoft (at the time) and they located the problem.  This fix made it into future versions of Power Bi Desktop and our files do work.

       

      We ended up not going down the source control path due to the mix of having our internal development team working in the same spaces as our in business "community" developers.