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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.