Forum Discussion
Error (model cannot be loaded) after saving a report to PBIP and reopening the same file
Hi ChristopheB - When changing a model that uses Direct Query to connect a Power BI dataset or Analysis Services model, you must update the ChangedProperties and PBI_RemovedChildren collection for the changed object to include any modified or removed properties. If ChangedProperties and/or PBI_RemovedChildren isn't updated, Power BI Desktop may overwrite any changes the next time the query is edited or the model is refreshed in Power BI Desktop.Refering to:Power BI Desktop projects (PBIP) - Power BI | Microsoft Learn
Hope it helps
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Hi rajendraongole1 , Thank you for your help.
I don't understand. I am not changing anything to the model?
I download a report from a workspace.
I save the report as pbip.
I get the error.
The report is indeed using a live connection to a dataset (semantic model) in the workspace.
When and in which file should I make changes regarding ChangedProperties?