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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Frequent Visitor

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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