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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Azure1
New Member

Performance using Direct Query on Embedded Dashboard

When you deploy a dashboard using direct query to Azure, and embed it, and the datasource is an Azure SQL Database.  Does it need to pull in the whole table when a user accesses it like it does when you use direct query with desktop?  Or does it use the filters to narrow down the results into a smaller subset?  

 

 

1 REPLY 1
tringuyenminh92
Memorable Member
Memorable Member

 

Hi @Azure1,

For your questions: 

  • Does it need to pull in the whole table when a user accesses it like it does when you use direct query with desktop? >> No,   it just loads what needs to display and when you interactive with control in reports or after every ~15 minutes
  • Or does it use the filters to narrow down the results into a smaller subset? >> No, it's a mix between geneating query and memory cache - i will explain in next lines.

Cause when you/users interactive with filter, report will generate the query corresponding with that action and request to the sources (could be sql server and database engine).

 

I just quickly create small example as below picture:

when select filter options (i selected Male)when select filter options (i selected Male)query will be passed and executed in sources serverquery will be passed and executed in sources server

 

But the query for this action is only generated in first time and will be cached for the next actions. (you could go on to monitor the server side to verify this)
=> So there is no performance issue in here. it's perfect machanism

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.