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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

data refresh for DirectQuery

There is a table on the report which is driven from a direct query call to sql server.
Question:
Every time I click on one of the columns to sort the data, is the data being pulled back from sql server or is it cached in power BI model?
I ask because every time on sorting, it takes a long time for the table to refresh...

Thank you

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

When you are sorting the data,it first sends a query to sql server,then gets the data you need back to power bi.In directquery mode,only the table name and column headers are caching in power bi.That is why you cant see data view in direct query.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

View solution in original post

3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

When you are sorting the data,it first sends a query to sql server,then gets the data you need back to power bi.In directquery mode,only the table name and column headers are caching in power bi.That is why you cant see data view in direct query.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Anonymous
Not applicable

Thank you

amitchandak
Super User
Super User

@Anonymous , It queries only when new data is required.

There is some cache option in premium: https://powerbi.microsoft.com/en-us/blog/announcing-query-caching-in-power-bi-premium/

 

You can check queries on the profile. Check option in article

https://radacad.com/directquery-connection-in-power-bi-how-does-it-work-limitations-and-advantages

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors