Power Query fetching data from database for every query

YaseenAli

New Member
Joined
May 4, 2022
Messages
8
Office Version
  1. 2021
Platform
  1. Windows
Hi,
Consider the attached image.

  1. I fetch a few 100k records from a database into SER_Base_SQL and MC_Base_SQL
    1. I add Table.Buffer() as the last line of code for each query
  2. Then I reference MC_Base_SQL in a new Query DueAssesments and perform some operations
After closing the PowerQuery editor and refreshing the query in excel the DueAssesments query is also shown to fetching the data from database

? Why

I have 15 more queries and each query is build upon the result of a previous query but each query is shown to be fetching data from the database xxxx rows from ./DBNamento. Shouldn't PowerQuery just use the result from previous query.
 

Attachments

  • 2023-06-07 22 26 58.png
    2023-06-07 22 26 58.png
    13.7 KB · Views: 21

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top