Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ChristopheB
Frequent Visitor

Error (model cannot be loaded) after saving a report to PBIP and reopening the same file

I downloaded a report from a workspace and saved it as pbip-file. (The report has a live link to a dataset in the workspace.)

 

When I open the pbip-file, i immediately get an error that the model cannot be loaded. It talks about 'analysis services', but the datasource is a dataset and has nothing to do with analysis services.

 

Opening the original downloaded pbix-file is no problem. It's only after saving it as pbip-file that it doesn't work anymore.

I can redefine the datasource and then it works, but as soon as I close and reopen the file, I receive the same message again.

 

Any idea why this is happening? Is it not possible to save a report with live connection as pbip-file?

 

ChristopheB_0-1718872187242.png

 

2 REPLIES 2
rajendraongole1
Super User
Super User

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

 

powerbi - Power BI error won't go away: "Cannot load model. We couldn't connect to your Analysis Ser...

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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? 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.