Forum Discussion
Required properties are missing from object
Hi Simonn97_PBI - Here , error indicates that your Power BI file (PBIX) contains corrupted metadata, specifically in the JSON configuration for one of the visuals. The issue is related to a missing required property (name) in the visual configuration. Since the file cannot be opened in Power BI Desktop, you'll need to fix it manually by extracting and repairing the file.
Backup Your File
Make a copy of the corrupted .pbix file to ensure you don't lose any data during the repair process.
Rename the File Extension
Change the file extension from .pbix to .zip. Power BI files are internally structured like ZIP archives.
Extract the File
Extract the ZIP file using a tool like WinRAR, 7-Zip, or a similar application.
Locate the Problematic File
Inside the extracted folder, navigate to Report/Layout (or similar, depending on the version of Power BI). This file contains the JSON configuration for the report visuals.
Edit the JSON File
Open the Layout file (you might need a text editor like Notepad++ or VS Code).
Navigate to line 342, position 7, as indicated in the error message.
The issue seems to be with the filterConfig.filters[2]. The correct JSON structure for this filter should include a name property. Add the missing name field to the object.
Avoid editing PBIX files directly when Power BI Desktop is open.
Regularly save your work and maintain backups.
Publish reports to Power BI Service as a backup method.
Just to call out - this doesn't work. You can unpack the pbix and correct the metadata, but when you then repack/zip the files into the pbix, PowerBi will state the file is corrupted and fail to open it. I believe this is because PBI Desktop signs the file when it saves, and when you update the contents the signature is no longer valid. Happy to be told otherwise though.