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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors