Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.