- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Persistent Cache in Power BI Service
Hello,
Desktop implementations of Power Query (e.g. Power BI Desktop, Excel) use a persistent cache that, in some cases, caches the data sent back in reply to queries/requests sent to external data sources.
IIRC, I've seen a few indications that the Power BI Service also has this kind of persistent cache.
Questions 🙂
- Can someone from Microsoft officially confirm that the Power BI Service has this kind of cache?
- Can anyone shed light on that cache's size in the Service (including whether it is different depending on Pro vs. Premium vs. Premium Per User)?
(For clarity, the caching referred to above is not at the report level, so is different from what's described in Query caching in Power BI Premium.)
Thank you,
Ben
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Yes, a persistent cache is used when refreshing queries in the PBI Service. However, the Service caching is slightly different than what happens when refreshing in Desktop. The primary difference is that in Desktop refresh, a single cache is shared by all the queries being refreshed. But in Service refresh, each query gets its own persistent cache. This can lead to Service refresh being slower than Desktop refresh, if the queries benefit from using the results cached by other queries in the dataset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Ben-Dev ,
As far as I know it seems not similar persistent cache in Power BI Service.
Perhaps you can refer this thread that replied by Ehren:
How do I cache or buffer an intermediate query result for repeated
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Ehren, can you offer any insight here? When Power Query runs in the Power BI Service, is a persistent cache used (e.g. same as what happens in Power BI Desktop and Excel)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Yes, a persistent cache is used when refreshing queries in the PBI Service. However, the Service caching is slightly different than what happens when refreshing in Desktop. The primary difference is that in Desktop refresh, a single cache is shared by all the queries being refreshed. But in Service refresh, each query gets its own persistent cache. This can lead to Service refresh being slower than Desktop refresh, if the queries benefit from using the results cached by other queries in the dataset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks, @lbendlin! Actually, I'm referring to the external query caching that Power Query can do when loading data before it is in the dataset (so is different from whether or not the dataset is currently in memory).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I don't think that's a thing, unless I misunderstand what you're trying to figure out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Datasets are loaded into the capacity memory. That's the equivalent of your "cache", but it's also fundamentally how the Power BI service works.
Either your dataset is in memory, or it isn't (when it has been evicted due to inactivity).

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
09-16-2024 01:26 PM | |||
Anonymous
| 10-10-2024 04:18 AM | ||
07-03-2024 06:03 AM | |||
08-16-2024 07:02 AM | |||
01-10-2024 04:55 AM |
User | Count |
---|---|
33 | |
18 | |
14 | |
11 | |
10 |