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
KatieB
New Member

Connection error

I was testing the new DirectQuery update on Power Bi Desktop. When I went to connect the first Power BI datasets it connected and worked fine but when I went to add a second dataset it gave me this error:

 

"We encountered an error while trying to connect. Details: We could not connect to the Analysis Services server because the connection timed out or the server name is incorrect."

 

How do you fix this error?

2 REPLIES 2
Anonymous
Not applicable

Hi @KatieB ,

 

Based on document, the effective user name in connection string is "domain\user" format, you have to provide a domain to correctly convert the connection string.

vcgaomsft_0-1650875948616.png

Please check that your login name is correct and that you can connect to the model.

 

For detail information, you can take a look at below articles:

Connection String Properties (Analysis Services)

Connect to SSAS Multidimensional Models in Power BI Desktop

 

Best Regards,
Community Support Team_Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

collinq
Super User
Super User

Hi @KatieB ,

 

Based on what the error states, you should first check and make sure that you have server name exactly correct.  And, you may need to confirm that the Analysis Server is open to connections.  You may also want to review the limiations section of this article:  Analysis Services multidimensional data in Power BI Desktop - Power BI | Microsoft Docs

 




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

Proud to be a Datanaut!
Private message me for consulting or training needs.




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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.