Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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
Hi , @Anonymous
As @nickyvv mentioned ,
Your data source doesn't need the On-premises data gateway (Azure SQL Database, Azure SQL Data Warehouse, or Redshift), so you only need to edit credentials before the Power BI service shows the published report as below.
With the cloud credentials set, you can refresh the dataset again by using the Refresh now option.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The data source credential is disabled, even after refresh report.
But for ImportQuery - data source credentail is enabled.
Hi , @Anonymous
Could you please tell me whether your problem has been solved?
Best Regards,
Community Support Team _ Eason
I'm already requested our Azure Admin to check the security settings if it follows the configurations to enabled direct query connection.
Thanks for the help.
Will provide feedback once I've confirmed this to our admin.
Hi , @Anonymous
You can refer to this article Azure SQL Database with DirectQuery
The following two points are important:
If you make sure that servername and firewall are fine and the problem is still unresolved, I suggest you to open a ticket here for help if you are a pro user.
URL: https://powerbi.microsoft.com/en-us/support/
Best Regards,
Community Support Team _ Eason
Hi @Anonymous,
from what I understand from the docs, for Direct Query to Azure SQL DB, you must set the credentials in the service.
The steps you have to take are outlined here:
In the Power BI service, select the Settings gear icon and choose the Settings menu item.
In the Power BI service's Settings page, select the Datasets tab, choose the dataset that uses DirectQuery, and select Edit credentials.
Add the credentials. Otherwise, an error occurs when you open a published report or explore a dataset that's created with a DirectQuery connection.
Did this help you or did I answer your question?
Then please give kudos or mark my post as a solution!
My blog: nickyvv.com
Twitter: @NickyvV
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
30 | |
24 | |
22 | |
21 |
User | Count |
---|---|
58 | |
41 | |
25 | |
24 | |
23 |