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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
SQLJiim
New Member

Report Builder Azure SQL Connection Problem

Hi,

 

             I am trying to connect my local Report Builder to an Azure SQL database.    I set up the datasource using a fixed username and password (not Windows Authentication) and pressed Test Connection and all is well.   

SQLJiim_0-1725838208395.png

 

 

When I attempt to setup a dataset to use that datasource, I receive error messages about how it does not recognized tables or stored procedures 

SELECT Column1, Column2

FROM TableA

 

Message would say:  "Invalid object name TableA"    When I run the exact same query in Azure Data Studio it works fine, so I doubt the problem is with the query, I think it is with the connection, but not sure what is wrong.   Any help appreciated.

 

SQLJim

1 ACCEPTED SOLUTION

Finally figured this out.   The server connection was offering me two different names for the database.  When I selected the other name, it worked.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @SQLJiim ,

 

The table may not be found because the database name is missing.

 

Please try this

SELECT Column1, Column2 FROM <dbName>.TableA

 

Best Regards,

Wearsky

This does not work.   Same error message.

Finally figured this out.   The server connection was offering me two different names for the database.  When I selected the other name, it worked.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors