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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Timmy_Puddles
New Member

Power Query always references the SQL db

Hi,

 

I have a power query setup wherein the SQL query is contained in one query, and the transformations are done in a couple of child queries which talk back to it. I have then put in Table.Buffer custom functions in at the end of the Parent query, and also at the start of the child query - despite this, every time I change the M code, it is referringback to the SQL db and takes a long time.

How do i stop it from doing this? I'd rather the SQL query needed a manual push to refresh, and the child queries would only refer to the parent as a static table.

 

Below, you can see there's the Custom1 function [ Table.Buffer(Source) ] but the PostgreSQL is running in the progress bar anyway.

Timmy_Puddles_0-1730289201505.png

 

Any help would be greatly appreciated!

1 ACCEPTED SOLUTION

In your development phase apply a filter that severely limits the amount of data to just what you need to develop. Then in production remove that filter.  You can do that with parameters, similar to how Incremental Refresh is designed.

View solution in original post

3 REPLIES 3
Timmy_Puddles
New Member

Okay that's not what I expected, thanks for oyur reply. Is there a way for me to set this up the way I described - so that the SQL query doesn't get involved every single time?

In your development phase apply a filter that severely limits the amount of data to just what you need to develop. Then in production remove that filter.  You can do that with parameters, similar to how Incremental Refresh is designed.

lbendlin
Super User
Super User

Table.Buffer will not prevent a reload of data from source.  It does prevent chunking/streaming, so it does the opposite of what you want because now Power Query no longer can fetch previews.

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.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.