Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
aistebuivyte
Frequent Visitor

sql

Hi,

 

I need to connect to sql database. Our customer provided user name, password, dbname, port and host. I try to write my server name as host:port. I get an error. Do I need to configure something before connection? What would be the tutorial how to reach that data? Thank You in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@aistebuivyte,

Could you please post the error message that you get? Are you able to connect to the SQL Server instance from SQL Server Management Studio(SSMS)? Make sure SSMS is installed in the same machine as Power BI Desktop, and configure remote access to your SQL instance following the guide in this blog.

In addition, please review the following example to connect to SQL Server in Power BI Desktop, enter host, port as  Server.
2.JPG1.JPG



Regards,
Lydia

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@aistebuivyte,

Could you please post the error message that you get? Are you able to connect to the SQL Server instance from SQL Server Management Studio(SSMS)? Make sure SSMS is installed in the same machine as Power BI Desktop, and configure remote access to your SQL instance following the guide in this blog.

In addition, please review the following example to connect to SQL Server in Power BI Desktop, enter host, port as  Server.
2.JPG1.JPG



Regards,
Lydia

Thanks a lot for information provided. Unfortunately, I get an error below. That means I can't reach SQL server from SSMS. How could I solve this?

Untitled.png

Anonymous
Not applicable

@aistebuivyte,

Ensure that you add the 5438 port into inbound rule of your firewall. And please follow the guide in the article below to troubleshoot the connection issue.

https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/troubleshoot-connecting-to-th...

Regards,
Lydia

aistebuivyte
Frequent Visitor

Hi,

 

I need to connect to sql database. Our customer provided user name, password, dbname, port and host. I try to write my server name as host:port. I get an error. Do I need to configure something before connection? What would be the tutorial how to reach that data? Thank You in advance.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors