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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Cannot load model - Couldn't Connect to your Analysis Services database

Hello all. Had a question regarding this error: 

Synik_0-1623349578085.png

I'm trying to add a PBI dataset to my data model which consists of a few tables from SQL Server, and an Excel sheet. Yet every time I attempt to add the PBI dataset, I get this error. 


I have already opened up a new .pbix file and connected to the PBI dataset alone, so I know that works. I have also completed a refresh on my current dataset with all the tables, and was met with no errors. Its just when I attempt to combine the two the error occurs. 

Any ideas? Appreciate it! 

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

Based on my tests, I first opened a PBIX in import mode and then linked to the PBI Dateset, and the following error occurred. As this blog says, Live Connection Cannot combine data from multiple sources.

v-yalanwu-msft_0-1623747963463.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

Based on my tests, I first opened a PBIX in import mode and then linked to the PBI Dateset, and the following error occurred. As this blog says, Live Connection Cannot combine data from multiple sources.

v-yalanwu-msft_0-1623747963463.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

"every time I attempt to add the PBI dataset" - which connector are you using, Power BI Dataset or Analysis Services?  Do you have the "Direct Query for AS" preview feature enabled? Are you being asked to convert from live connection to direct query?

Anonymous
Not applicable

@lbendlin 
I am using the Power BI dataset connector.
Direct Query for AS preview is enabled. 
There is no prompt to convert from live connection to query. 


To expand a bit, all my current tables connected through SQL server with no SQL statement, just direct to the table and loaded in. There is 1-2 Excel connections occuring. No other Power BI Dataset connection exists aside from the one I am trying to make now. 

Edit: small correction, there are very simple SQL statements on the import of at least 1 table from SQL Server. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.