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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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