Forum Discussion

doshib's avatar
doshib
Regular Visitor
9 years ago
Solved

Background image stuck!

 

Hi all,

 

I imported a 10mb image into Power BI desktop as a background image. I didn't change anything else.

The size of my file went up 10mb to 40mb. I then deleted this image, but my file size remains at 40mb.

 

So how do i get my file size back down? The image must be cached somewhere in the memory, and clearing the cache didnt solve problem.

 

Any help would be greatly appreciated.

 

Cheers,

Ben

  • managed to view files and the solution you suggested worked perfectly!

     

    thank you!!

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi doshib,

     

    You can rename the pbix file to xxx.zip. Open the zip file and you can find the resource file at below path: Report\StaticResources\RegisteredResources

     

     

    You can delete these img files to cut down the file size.

     

    Regards,

    Xiaoxin Sheng

    • doshib's avatar
      doshib
      Regular Visitor

      Hi Xiaoxin,

       

      Thank you for your response.

      Power BI allowed me to save/send to zip file, but within the zip folder only the pbix file was present (it has renamed back to pbix). How do i see the other folders you have referred to? I have tried extracting but no further folders appeared.

       

      Thanks again

      Ben

       

      • doshib's avatar
        doshib
        Regular Visitor

        managed to view files and the solution you suggested worked perfectly!

         

        thank you!!

    • Jonwig's avatar
      Jonwig
      Frequent Visitor

      Hi,

       

      I am seeing the same issue here, but on testing the file size I still seem to have some considerable bloat after removing the files from the PowerBI report, then renaming and removing from the Zip.

       

      In testing

      I added 2 PNG files at 200KB to a 1.7MB Pbix. The size increased to 2.7MB (with no other changes), I guess it is not using the same compression. After fully(?) removing the files my Pbix is at 2.3 (first delete from Pbix, then go into ZIP and delete).

       

      This was just a test file. I have my production Pbix which is now at 9MB using the same datatables as my test(!) and am worried it will get bloated over time as I use images a fair bit for backgrounds etc.

       

      Any ideas.

       

      Thanks

       

      Jon