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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

0

Direct Query fails to work with Azure SQL Database

This problem is only when using Direct Query, no issues with Imported.

 

 

On Data Refresh, PowerBI complains that it cannot load the model, despite Power BI seeing the views and the data inside them just fine. 

 

I can 100% confirm that SQL Server is 100% reachable and operational.

It is not a SQL Server or firewall or network issue.

 

This problem only occurs when using Direct Query, Imported works fine. Seems like a PowerBI bug.

 

I would prefer to use Direct Query over Imported for several reasons.

 

 

 

 

But when refreshing,

claudiop_0-1679086257107.png

 

 

Status: Delivered

Glad your Power BI back to normal!

Thanks for your sharing and this thread will be closed.

 

Best regards.
Community Support Team_ Caitlyn

Comments
claudiop
Employee

In case this helps PowerBI Team fix the bug: 

 

The issue was supplying the port number to PowerBI. Removing the port number and letting PowerBI use SQL's default port number instead appears to have fixed. PowerBI seems to be working fine now. 

 

v-xiaoyan-msft
Community Support
Status changed to: Delivered

Glad your Power BI back to normal!

Thanks for your sharing and this thread will be closed.

 

Best regards.
Community Support Team_ Caitlyn