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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PowerWhy
Helper IV
Helper IV

Is it possible to create caches?

Hello,

 

Please could you tell me if it's possible to create caches of all the possible permutations of slicer selections? i.e. some of my visualisations run very slowly so if we could save caches for each selection permutation then the report could run almost instantly for the user.

 

Thank you,

 

CW

1 ACCEPTED SOLUTION
Burningsuit
Resident Rockstar
Resident Rockstar

Hi @PowerWhy 

From this and your other community question, it seems almost certain you are using a direct query connection to an SQL or similar data source. Using Import Mode creates a Datamodel which is exactly what byou;re asking for a chache which then allows Slicer selection to be very quick.

If you use direct query connection, every Visual on the canvas generates an SQL query to popoulate it on load. Then when you change a slicer, every visual genraerates another sql query to re-populate the visual in light of the slicer. If your SQL datadase server does not respond quickly to the many SQL queries generated by Power BI then refreshing visuals will be slow.

This "Guy in a Cube" gives more information abour Direct Query Vs Import mode.

(126) Power BI Get Data: Import vs. DirectQuery vs. Live (2021) - YouTube

Hope this helps

Stuart

View solution in original post

2 REPLIES 2
AntrikshSharma
Super User
Super User

@PowerWhy Power BI/CPU can only cache the results of Storage Engine requests also it has a limit of caching first 513 Storage Engine queries. after that point it will not consider the cache and re execute everything, so if there are 514 requests then nothing will be cached.

 

I would suggest you start DAX Studio and understand why the queries are slow.

Burningsuit
Resident Rockstar
Resident Rockstar

Hi @PowerWhy 

From this and your other community question, it seems almost certain you are using a direct query connection to an SQL or similar data source. Using Import Mode creates a Datamodel which is exactly what byou;re asking for a chache which then allows Slicer selection to be very quick.

If you use direct query connection, every Visual on the canvas generates an SQL query to popoulate it on load. Then when you change a slicer, every visual genraerates another sql query to re-populate the visual in light of the slicer. If your SQL datadase server does not respond quickly to the many SQL queries generated by Power BI then refreshing visuals will be slow.

This "Guy in a Cube" gives more information abour Direct Query Vs Import mode.

(126) Power BI Get Data: Import vs. DirectQuery vs. Live (2021) - YouTube

Hope this helps

Stuart

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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