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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Kudoed Authors