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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
UncleLewis
Responsive Resident
Responsive Resident

Data Source Connection String

Hi all,

 

Using Power BI Report Server

Trying to create a new data source to SQL Server

 

I used connection string like this

Data Source = ServerName;Initial Catalog = my_db

I'm using my Windows credentials

 

But I still cannot connect

Is my connection string correct

The server name and Catalog(db) are stright from SSMS.

 

Thanks,

-w

2 REPLIES 2
AbhiSSRS
Solution Sage
Solution Sage

Yes this looks correct 

eg Data Source=ABCD;Initial Catalog=contoso

 

you may use build connection and Test Connection to check :

AbhiSSRS_0-1635449025750.png

 

josef78
Memorable Member
Memorable Member

I think, it is correct. With SQL datasource you can also use:

ServerName;my_db

If still cannot connect, which error mesage is raised?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.