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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.