Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello everyone,
I'm having trouble connecting Power BI Desktop to my SQL Server and could use some help.
Setup:
Problem: When I try to get data in Power BI Desktop using SQL Server, I get this error:
I've confirmed the instance name is correct and that SQL Server allows remote connections.
Question: Am I missing some firewall rules or any other settings to allow the connection through?
Any advice would be greatly appreciated!
Thank you!
I found this image on the screen but I got this.
I am opening fresh window PBI Desktop and click Import Data from SQL Server
@honeybadger9000 , this means the server name is wrong. I have a local sql server on my PC, the correct name is "localhost\sqlexpress", if i just use localhost I'll get the same error as you. Don't get confused with gateway at this stage, it has nothing to do with this connection step.
There are two separate concepts here: SQL connection and gateway.
The normal development process looks like below:
1. develop the report from PBI Desktop, connect to the SQL server via standard address
2. publish the report into a workspace
3. configure the gateway settings in the workspace to schedule automatic data refresh.
Could you please clarify which step did you run into the error?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 9 | |
| 9 | |
| 6 | |
| 6 |