Forum Discussion

maceyak's avatar
maceyak
Regular Visitor
8 years ago
Solved

Modifying the Layout file that is embedded in a pbix file

I know how to disassemble a pbix file by changing the extension to .zip and then oening it.  If I then change the extension back to .pbix I can then open it in Power BI.  However, I would like to mod...
  • Anonymous's avatar
    Anonymous
    5 years ago

    I was struggling with this issue recently, and my solution is the following:

     

    - Change the extension from ".pbix" to ".zip"

    - Do not unzip the ".zip" file during this process

    - Extract the "Layout" file from the "Report" folder in the ".zip" file

    - Open the "Layout" file with Notepad++. (VERY IMPORTANT)

    - Make your modifications in the Layout file

    - Substitute the old "Layout" file with the new one

    - Delete "SecurityBindings" file in the ".zip" file

    - In the [Contents_type].xml delete the following text: 

    "<Override PartName="/SecurityBindings" ContentType="" />"

    - Change the extension from ".zip to ".pbix"

    - The file will open without breaks

     

    Hope it helps!