cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
UncleLewis
Helper III
Helper III

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
Super User
Super User

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
Super User
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.