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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Mater
Frequent Visitor

Disable Preview/Refresh in Data Flow Power Query

Is there a way to turn off the data preview/refresh so that it does not automatically try and refresh the data preview each time you make a change?  I know you can hit the 'cancel refresh' button, however this does not cancel the underying query that has already been sent to databricks.  I have a large query which takes around 2 minutes to run, so if i step through the transformation steps, it kicks off a 'preview query' every time, which then creates multiple instances of the same query being run on databricks. 

Ideally I want to be able to open the dataflow query in power query, make multiple changes, and at the end, initiate a data preview refresh myself.

 

thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Mater 

 

Regarding Databricks, there is no way to completely turn off the auto-preview and auto-refresh features, which is dictated by the way Databricks works, which automatically tries to preview or refresh the data to provide real-time feedback and a better user experience. While the Cancel Refresh button doesn't completely stop the query execution, it at least prevents Databricks from reloading the data every time it changes. If possible, you can try to optimize your query to improve its execution speed.

You can consider adding all the required conversion steps first without checking their immediate effect.

To avoid triggering a preview, you can also write M code directly in the advanced editor, or carefully apply the changes without clicking any additional steps or triggering a refresh.

In terms of optimization, you can check out the following documentation:

 

Optimization recommendations on Azure Databricks - Azure Databricks | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi, @Mater 

 

Regarding Databricks, there is no way to completely turn off the auto-preview and auto-refresh features, which is dictated by the way Databricks works, which automatically tries to preview or refresh the data to provide real-time feedback and a better user experience. While the Cancel Refresh button doesn't completely stop the query execution, it at least prevents Databricks from reloading the data every time it changes. If possible, you can try to optimize your query to improve its execution speed.

You can consider adding all the required conversion steps first without checking their immediate effect.

To avoid triggering a preview, you can also write M code directly in the advanced editor, or carefully apply the changes without clicking any additional steps or triggering a refresh.

In terms of optimization, you can check out the following documentation:

 

Optimization recommendations on Azure Databricks - Azure Databricks | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.