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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.