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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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