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

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

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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 Kudoed Authors