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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PBI-Newbie
Helper I
Helper I

An error occurred while loading to the model. - without any details

I am receiving the message "an error occurred while loading to the model" if I want to connect to any datasoure (Excel or SQL server). Normally it would specify which query is affected, but this time - nothing! Just the yellow little triangle with the "!" and the generic error message - for every data source.

 

I've tried to multiple sources that I can all access in a new pbix, but not in the old one. 

 

What could it be?

 

PS: I have the April 2025 PBI Desktop version

1 ACCEPTED SOLUTION
johnbasha33
Super User
Super User

@PBI-Newbie 
Here's a checklist of what might be going wrong and how to fix it:

1. Corrupted Model or Power Query Steps

Sometimes, transformations or schema changes in Power Query get out of sync with the data model.

Fix:

  • Go to Power Query Editor in the affected .pbix

  • Check each query for errors (especially ones with merge/join or custom steps)

  • Remove or isolate complex queries to test

Try deleting a problematic query (copy it to Notepad first), then reload.

2. Model Relationship Inconsistency

An invalid relationship (like cardinality mismatch or a missing key) can block loading to the model silently.

Fix:

  • Open Model view

Review all relationships – delete or disable any that could be failing due to changes in column types or values


3. Hidden Auto-Date Tables or Metadata Issues

Auto-generated date tables sometimes cause corruption when columns are renamed or deleted.

Fix:

  • Go to File > Options > Data Load, uncheck Auto Date/Time for new files

  • Save, close, and reopen the file – retry load

4. External Tool Interference (e.g., Tabular Editor, ALM Toolkit)

If someone used an external tool and made a change that’s invalid (like renaming or removing a measure used in a visual), the model might break silently.

Fix:

  • Try opening the .pbix on another machine (fresh install) to rule out local corruption

Check external tools history, if available

5. Backup & Strip Down

If nothing works:

Fix:

  • Open the broken .pbix

  • Remove all tables from the model

  • Try loading just one query – if it works, add others back incrementally

Or, copy all report pages and Power Query steps into a fresh .pbix.

Suggestion:

Use Performance Analyzer (under View tab) and watch what’s loading when it breaks. Sometimes even visuals trying to reference deleted fields can trip things up.

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

View solution in original post

6 REPLIES 6
JoshT
Advocate III
Advocate III

Just for posterity, I also had this issue and was resolved by disabling automatic relationship detection. In case trying the 5 points above still doesn't work and Microsoft still insist that you don't need any information whatsoever on the errors their own programs are throwing to developers

Thanks! For me it was either time intelligence or the disabling automatic relationship detection. It worked fine afterwards. 

PBI-Newbie
Helper I
Helper I

Thanks for the quick answer! I've already done step 1. All queries load perfectly if I don't bring in any new ones. Will check the next steps.

 

sounds good @PBI-Newbie 

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

I've unticked the time intelligence and the automatic detection of relationship. Now it works perfectly again. Thanks for the pointers!

 

johnbasha33
Super User
Super User

@PBI-Newbie 
Here's a checklist of what might be going wrong and how to fix it:

1. Corrupted Model or Power Query Steps

Sometimes, transformations or schema changes in Power Query get out of sync with the data model.

Fix:

  • Go to Power Query Editor in the affected .pbix

  • Check each query for errors (especially ones with merge/join or custom steps)

  • Remove or isolate complex queries to test

Try deleting a problematic query (copy it to Notepad first), then reload.

2. Model Relationship Inconsistency

An invalid relationship (like cardinality mismatch or a missing key) can block loading to the model silently.

Fix:

  • Open Model view

Review all relationships – delete or disable any that could be failing due to changes in column types or values


3. Hidden Auto-Date Tables or Metadata Issues

Auto-generated date tables sometimes cause corruption when columns are renamed or deleted.

Fix:

  • Go to File > Options > Data Load, uncheck Auto Date/Time for new files

  • Save, close, and reopen the file – retry load

4. External Tool Interference (e.g., Tabular Editor, ALM Toolkit)

If someone used an external tool and made a change that’s invalid (like renaming or removing a measure used in a visual), the model might break silently.

Fix:

  • Try opening the .pbix on another machine (fresh install) to rule out local corruption

Check external tools history, if available

5. Backup & Strip Down

If nothing works:

Fix:

  • Open the broken .pbix

  • Remove all tables from the model

  • Try loading just one query – if it works, add others back incrementally

Or, copy all report pages and Power Query steps into a fresh .pbix.

Suggestion:

Use Performance Analyzer (under View tab) and watch what’s loading when it breaks. Sometimes even visuals trying to reference deleted fields can trip things up.

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.