Forum Discussion
Disable data load in power query editor
- 1 year ago
Anonymous
Hi,
Even if a query is unchecked for load and refresh, the semantic model still holds a reference to the source table especially if you're using DirectQuery or Composite Model, or the query is used in a relationship/downstream reference, Or, the model schema still knows about that table’s structure.
Power BI doesn’t cache or isolate the schema by default, so if your Databricks table changes, Power BI reflects those schema changes, even if it doesn't reload the data.
That being said, instead of connecting directly to a live or frequently updated table in Databricks, you may
- Create a snapshot or staging table in Databricks that holds a static version of the data.
- Connect Power BI to this static table.
- Only update this table manually when you want changes to reflect in Power BI.
You can run this in a Databricks SQL notebook or SQL Editor if it is an one-time copy,
CREATE OR REPLACE TABLE database.snapshot_table AS SELECT * FROM database.source_table;This will give you full control over when changes are visible.
Hope this helps:)
Hi Anonymous,
I would also take a moment to thank MasonMA , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions
Thanks
- v-sshirivolu1 year agoCommunity Support
Hi Anonymous ,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you
- v-sshirivolu1 year agoCommunity Support
Hi Anonymous ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.