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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.