Forum Discussion
Cannot connect Power BI with SQL server
Hello Anonymous ,
Follow below steps :
1. Open Power BI => Get Data => SQL Server
=> Fill in details and choose correct mode
=> Select objects and click on Ok
and you are done.
Gateway is required to referesh data from power bi service. you can configure refresh schedule as per need :
You can select the refresh frequency on a regular schedule, e.g. daily, or customize to several time slots.
Enabling the scheduled refresh feature also allows you to perform a manual refresh on-demand
I hope this helps.
Cheers
- Anonymous1 year agoNot applicable
Hi, I mentioend that I got no luck with this connection. I tried houndrets times to go through it (as this is very similar to any other Power BI getting data step, which I do on a daily basis). The problem is with connection:
1. Open Power BI => Get Data => SQL Server
but different errors appears. E.g. I have port number instead of server name (but I read this is the same and it does not matter), so when I put numers only, this is what I get:
So i tired putting like "port:12345", this brings me to the next step, of adding cretindials.
I have been given user and password so I put them:
again this is what I got:
- Anonymous1 year agoNot applicable
Hi, Anonymous
I think you have to have the sql server name and port number. Here I take the sql server of my VM1 (port 1433) machine as an example.
Here is the SQL Server server name to look for vm1:
Now I'm connecting to VM1's sql server in my other machine:
Format:
servername,portNumberIf you can connect to this sql server in SSMS, there is no problem. Next, let's connect it in Power BI desktop:
Power BI desktop accesses our database as normal. In summary, you need to have the SQL Server server name and the corresponding port number, which is required.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.