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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HamidBee
Impactful Individual
Impactful Individual

How does Query caching work?

I am having some difficulty understanding the concept of query caching properly.

 

1. Is Query caching strictly for Power BI Service?

 

2. What is meant by query results? are these SQL queries?

 

9-query-caching-options-ss.png

 

 Thank you,

2 REPLIES 2
amitchandak
Super User
Super User

@HamidBee ,

1. Is Query caching strictly for Power BI Service?

Yes

2. What is meant by query results? are these SQL queries?

For DAX queries too. In case of import mode

 

also refer

https://powerbi.microsoft.com/en-us/blog/announcing-query-caching-in-power-bi-premium/

https://powerbi.microsoft.com/en-us/blog/announcing-custom-cache-refresh-schedules-in-the-power-bi-s...

Okay, I think I am understanding it now. I've never tried to import data via SQL in Power BI service but I imagine it is the same concept as in Power BI Desktop. So just to summarize what I have learnt from you so far:

 

I use either one of the below methods to import my data from:

 

Query.jpg

 

-I then use a SQL query to import the data. (Is this query caching only relvant for DirectQuery Mode instead of Import mode?)

-I create a report using the data. 

-I switch on query caching.

-I open the report and the same results open from the last time I opened the report.

-This is because the results are cached.

-There is no need for a new SQL query to be sent to a SQL database as the data has already been cached from before.

-It saves time but it means the data will not be up to date.

 

Am I correct in what I have said @amitchandak ? If I am correct please can you copy and past this as a reply so that I may accept it as a solution.

Thank you,

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors