The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?