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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
dpuja
Helper I
Helper I

Error 40

Hello Experts,

 

I am trying to connect to dev environment of the SQL databse from Power BI desktop and I am seeing the following error:

 

dpuja_0-1603512250290.png

I can access the same database using the same credentials using SQL server management Studio, but not through Power BI. Any ideas why?

 

Thank you!

1 REPLY 1
AllisonKennedy
Community Champion
Community Champion

I normally get this error when I misspell or have a typo in my server name - so quadruple check that everything there is correct. I don't think it's a credentials issue.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.