Forum Discussion

tjd's avatar
tjd
Impactful Individual
10 years ago
Solved

Change Image In PBIX file

I have a report consisting of about 20 pages.  Each page contains a logo.  If I named that logo as logo.png, is there some way to access the file within the .pbix file so that I can replace the exisitng logo.png with another logo, also called logo.png?  I really don't want to have to go through and change out 20 logos per pbix as I replicate the .pbix across several companies/departments.

 

Thanks in advance.

  • Anonymous's avatar
    Anonymous
    10 years ago

    tjd You can change the PBIX file extension to .zip to see the underlying elements. But I just did a quick check for this and didn't see any area that exposes the elements in a report page. The report folder file appears to be encrypted. Worst case, you can swap out 1 image and just copy/paste the new image to the other report pages, but it looks like it will need to be a manual effort.

3 Replies

  • Open the PBIX file in 7zip

    Go to Reports\StaticResources\RegisteredResources\

    Replace the old image with an equally named new image
    Zip, Close and Launch your file in PowerBI 

  • Anonymous's avatar
    Anonymous
    Not applicable

    tjd You can change the PBIX file extension to .zip to see the underlying elements. But I just did a quick check for this and didn't see any area that exposes the elements in a report page. The report folder file appears to be encrypted. Worst case, you can swap out 1 image and just copy/paste the new image to the other report pages, but it looks like it will need to be a manual effort.

  • ankitpatira's avatar
    ankitpatira
    Community Champion

    tjd Not sure of anyway you can have access to the image file. I was going to suggest you to import your images along with your other data from query and have data type as binary, however that will also not work since powerbi desktop doesn't allow binary images to be viewed in the report. Perhaps you can add vote to this idea below. Unfortunately until then you will have to manage images manually.

     

    https://powerbi.uservoice.com/forums/265200-power-bi-ideas/suggestions/7340150-data-model-image-binary-support-in-reports