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
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
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.