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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
prabhuss
Helper I
Helper I

Direct Query is not working

Direct Query is not working once I publish the report. I see following error. It used to work in June time frame. Please advise

 

 


Please help.ErrorError

2 REPLIES 2
mmala4681
Advocate I
Advocate I

Make sure you configure your data source/s after you publish to PBIRS.  Go to the ellipsis (...) on your report in PBIRS -> Manage ->Data sources and setup your server name/ auth type / credentials. 

 

I've always had to go there and configure, even though it worked in the PBIRS Desktop before publishing.

 

MM

Anonymous
Not applicable

I have 2 PBI reports in using Desktop, connecting to Azure SQL DB

 

1. ImportQuery - Azure SQL DB

2. DirectQuery - Azure SQL DB

 

I got Power BI Pro account, I've published the 2 reports, they both show error, "There is no gateway to acces the data source", > Dataset setting to fix the error:

 

1. ImportQuery - Azure SQL DB -> Data Source Credentials -> input the correct credentials -> FIXED

2. DirectQuery - Azure SQL DB -> Data Source Credentials is DISABLED

 

I'm very confused on this, they are both consuming Azure SQL DB, but why is the DirectQuery is requiring to have onpremise gateway or the Datasource is disabled.

 

Kindly comment if I'm missing something here.

 

Thank you

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.