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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
abhijitsahay
Frequent Visitor

Published report doesn't work - complains that "there is no gateway to access the data source"

Hello:

 

I created a report using a direct query connection to a SQL Server database.  When the report is published, it comes up blank with the message "There is no gateway to access the data source <name of db>".   I did the exact same thing a few weeks ago with a Postgres database and that report works fine.  Does anyone have experience with this issue?  Appreciation in advance!

1 ACCEPTED SOLUTION
Tutu_in_YYC
Super User
Super User

If you SQL Server database is on-prem, then you need a gateway so the published power bi report can "direct query" the database on-prem, or else it cant talk to the database as there is not direct connection from cloud ( power bi service ) to on-prem.

I have no experience with Postgres database, but yours could be in the cloud, where no gateway is needed. Can the be true?

View solution in original post

2 REPLIES 2
abhijitsahay
Frequent Visitor

Thank you!  Yes, that's probably what it must be.  I will find out later today.

Tutu_in_YYC
Super User
Super User

If you SQL Server database is on-prem, then you need a gateway so the published power bi report can "direct query" the database on-prem, or else it cant talk to the database as there is not direct connection from cloud ( power bi service ) to on-prem.

I have no experience with Postgres database, but yours could be in the cloud, where no gateway is needed. Can the be true?

Helpful resources

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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