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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
mak82pk
Helper I
Helper I

SQL Database Vs Azure SQL Database Direct Query Power BI

Dear All,

I am confused understanding direct query between SQL Database Vs Azure SQL Database Power BI

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

 

I am currently using SQL Server

For SQL:

Gateway is required.

Does it mean I cannot have real-time data when using direct query and can only refresh dataset after 15min?

It is mentioned under benefit of using direct query 

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-use-directquery/#limitations-of-di...

The 1 GB dataset limitation does not apply to DirectQuery

And limitation is

The resultset of a query to external data source has exceeded
the maximum allowed size of '1000000' rows.

 Is the above same for SQL server?

 

Your prompt response would be highly appreciated.

 

1 ACCEPTED SOLUTION
tringuyenminh92
Memorable Member
Memorable Member

Hi @mak82pk,

 

There is no different between SQL DB and Azure SQL DB, it's based on your connection mode (Import mode or Direct Query).

  • The limitation 1m rows will be applied for both SQL DB and azure db when you use Direct QUery for them.
  • The 1GB dataset is applied for Import mode (whatever your sources is cloud or on-premise)
  • Gateway is required for SQL DB cause it's on-premise, so it needs gateway to handles data transfering from your local to PBI cloud.
  • When using DirectQuery or Live connection, you are in near real-time scenario, and data is up to date whenever users/clients interacts with your charts/reports. If there is no interaction, the data of report will be refreshed every 15 minutes (this refresh period now could be adjusted to 1hour, daily,...)

View solution in original post

2 REPLIES 2
tringuyenminh92
Memorable Member
Memorable Member

Hi @mak82pk,

 

There is no different between SQL DB and Azure SQL DB, it's based on your connection mode (Import mode or Direct Query).

  • The limitation 1m rows will be applied for both SQL DB and azure db when you use Direct QUery for them.
  • The 1GB dataset is applied for Import mode (whatever your sources is cloud or on-premise)
  • Gateway is required for SQL DB cause it's on-premise, so it needs gateway to handles data transfering from your local to PBI cloud.
  • When using DirectQuery or Live connection, you are in near real-time scenario, and data is up to date whenever users/clients interacts with your charts/reports. If there is no interaction, the data of report will be refreshed every 15 minutes (this refresh period now could be adjusted to 1hour, daily,...)

Thanks for your prompt response.

 

I embedded the URL in my web application and report was updated after 1 hour even when I was interacting with the report.

 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.