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
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
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.