This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
We are sruggling with getting a Direct Query Connection to a SQL database on premis. We can complete a LOAD of data from the same SQL database, but when using Direct Query for the exact same Database and using the same SQL username, we are hit by the below. Any ideas?
"
Jacques
Solved! Go to Solution.
Hi @jacschZA
Please check if below post could help
Regards,
Hi @jacschZA
I cannot reproduce the same issue.I would suggest you update to latest version of Power BI Desktop ,please follow the instructions in the article below to troubleshoot this connection error.
https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/troubleshoot-connecting-to-th...
Please check if below post could help.
https://community.powerbi.com/t5/Desktop/Can-t-connect-to-SQL-server/td-p/196782
Regards,
@v-cherch-msft thanks for the response!
What we ended up trying and what worked was specifying the server name with 'TCP:' as a prefix, and then instead of using a port number at the end of the server name, used the actual name, and this seems to work now for both Direct Query and with the Gateway.
Any idea why this may have been the case?
Jacques
Hi @jacschZA
Please check if below post could help
Regards,
@v-cherch-msft Thats it, the comma instead of the double colon works as well.
Dont understand what it does differently, but it solves my query.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 45 | |
| 33 | |
| 24 | |
| 23 |