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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors