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
Anonymous
Not applicable

Use DirectQuery in Power BI Desktop - SQL A

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-directquery/

 

according to the link, it says we can use direct query in PBI desktop to connect to Azure SQL database.  However when  try to connect to azure database, the Data connectivity mode remains checked on "import" and the DirectQuery option seems disabled (greyed out).

 

I am trying to apply directquery for the dataset on the PBI desktopm and then move the file across to Power BI Service.  As we can no longer create direct-query directly from the PBI Services.

 

any advise would be appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

i know the problem now:  if the pbi desktop file contains datasets that ae imports then the direct query can not be combined.  You need to have a seperate pbi file with just direct query datasets!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

i know the problem now:  if the pbi desktop file contains datasets that ae imports then the direct query can not be combined.  You need to have a seperate pbi file with just direct query datasets!

Hi @Anonymous,

You are right. You need to create a new .pbix file to load the data in Direct Query model. Congratulations, you find the issue. Please mark your workaround as answer, more people will benefit from it.

Best Regards,
Angelia

Anonymous
Not applicable

https://powerbi.microsoft.com/en-us/documentation/powerbi-azure-sql-database-with-direct-connect/

 

from link above:  You can no longer connect to Azure SQL Database directly from the Power BI service.   In order to connect to Azure SQL Database using DirectQuery, you will need to use Power BI Desktop.

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.