Forum Discussion

AC4's avatar
AC4
Frequent Visitor
2 years ago

Git Integration to rollout changes en masse

We have a reporting suite with multiple reports which all stem from one original power bi file in order to give the reports the same look and feel.

 

Recently a change has been requested to change some images that are used as buttons to navigate around the reports. 

 

Changing this on every page on every report by copy and pasting or format painting etc can be quite time consuming, and can lead to mistakes. 

 

I'm a complete newbie to Git and Power BI's integration with Git but was wondering if there's a simpler way to do this.

 

From what I've seen you can track changes in the source code, could this be used to copy the new code created when I make the changes in one report and then add into all reports?

 

Thanks

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi AC4 ,
    According to your description, you can save the report as a Power BI Template (PBIT) file. This will not include the data, but it will retain the layout, including images and buttons. Replace the images in the template file with the new ones you want to use across all reports. For each report, open the PBIX file and import the layout from the updated template. This will apply the updated images to each report. For each report, open the PBIX file and import the layout from the updated template. This will apply the updated images to each report. Every time you make changes such as the ones above, commit the updated PBIX files to Git. This will allow you to track changes, revert to previous versions if necessary, and share updates with your team.
    For more details about this, you can refer to this official document
    Create and use report templates in Power BI Desktop - Power BI | Microsoft Learn

    Best regards

    Albert He

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

     

    • AC4's avatar
      AC4
      Frequent Visitor

      Thanks! Anonymous How would this affect the individual visuals that are created in each report though, as different reports have different visuals and different measures, they just have the same style in the sense of navigation buttons on the left hand side of each page