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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
power2kp
New Member

PowerBI Direct Query and Cache issue

We are working on a powerbi report which has a slicer apply button and when the slicer is applied , it does call a oracle stored proc (with a writeback) in one of the tables and fetch the latest result using direct query. once the results are displayed in a tabular format, when the user hits back button and choose the value from the slicer again to go back to writeback page, the data is taken from the cache and as a result even in teh writeback page, the direct query is not executed but takes the values from the cache which is not what we want. we want the latest values to be displayed by executing the direct query. we have tried few ideas in teh community like RAND function, cache settings both in the desktop and the powerbi service. we cant get this to work and its frustating. 

 

any ideas pls ?

 

 

1 REPLY 1
lbendlin
Super User
Super User

DO NOT use Power Query to write back into your data source. There is absolutely no guarantee that your Power Query will be run once.  It can be run multiple times or not at all.  There is no guarantee whatsoever. None.

 

Chris Webb's BI Blog: Why Is Power BI Running My SQL Query Twice? (crossjoin.co.uk)

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.