10.9 Refresh and Load Options
Know which part of the report is actually current
A teammate adds a new order to the source, but your dashboard still shows yesterday's total. The query preview looks correct, so you wonder whether the formula is broken. The first step is to locate the stale part: the source, query result, loaded worksheet Table, Data Model or report built on that result.
Refresh and load are related decisions with different purposes. Refresh obtains and processes source data through the query. Loading places a result in its configured destination. A PivotTable then summarizes its own source. Understanding these layers makes it easier to explain a successful update and diagnose an incomplete one.
All examples use fictional delivery orders in INR. They resemble a small operational report for a business using an app such as Swiggy or Amazon, but they are not company records. Use a new practice workbook and clearly named source and output sheets so the experiments remain easy to reverse.
1. Separate source, query, destination and report
The source is where the accepted records begin
A source might be an Excel Table in the current workbook, a saved CSV, another workbook or a database. The connection and navigation steps decide which source object is read. A new value outside an Excel Table boundary may not be part of that object even when it appears beside the old records on screen.
When a query reads an external saved file, changes that have not reached that file are a different issue from refresh. Check which file version the connector can access. A similarly named workbook in Downloads and another in a shared folder can contain different records. Refreshing the wrong source successfully still produces the wrong business report.
The query defines the transformation
The query might select fields, declare types, remove approved export replays, append months or merge a directory. Its editor displays a preview after a selected step. That preview helps explain the logic, but it is not the same object as the final worksheet Table.
The selected step also matters. The Source preview may show four records while a later filter intentionally retains two. Compare the final accepted query output with its stated rule. A difference between Source and final output is not automatically an error; it needs a reconciliation explaining which records were transformed, excluded or rejected.
The load destination makes the result available for use
- Worksheet Table: displays the result as rows and columns in the workbook.
- Data Model: stores data for supported model analysis without requiring every record on a worksheet.
- Connection-only staging: retains a query for dependencies without a separate worksheet output.
- PivotTable or PivotChart report: presents an analysis using its configured connection or model.
The Data Model checkbox is a separate choice in relevant load dialogs. Only Create Connection with Add this data to the Data Model selected can still load data into the model. When this lesson says “staging only,” it means no worksheet Table and no separate Data Model load for that staging query.
The report needs the intended source and scope
A PivotTable built from a worksheet Table needs that Table to contain the accepted current records. A model-based PivotTable needs the intended model data and calculations. Both can have filters that narrow the displayed total. Check the source and active filters before comparing a report number with an unfiltered source sum.
For a small report, write the chain in a note: tblRefreshSource → OrdersChecked → tblRefreshOutput → City PivotTable. If someone changes a source or destination, update the note. The names become a practical map for investigation rather than decorations on worksheet tabs.
2. Choose a destination for a specific purpose
Load rows to a worksheet when people need to inspect them
A worksheet Table is useful when students need to see every accepted record, use structured-reference formulas or build a regular PivotTable from visible rows. Give it a distinct name and place it on an output sheet. Keep the original source Table separate so a learner does not edit the query result thinking it is the input.
Choose Home → Close & Load → Close & Load To in the editor where available, or use Load To from the query's context menu in Excel's Queries & Connections pane. The exact dialog depends on the client and query. If a command is unavailable, inspect the supported query-management options in your installed Excel version.
Keep intermediate transformations as staging queries
Suppose FreshGo_Stage and MarketRush_Stage feed an appended AllOrders query. You can keep both stages without separate worksheet outputs and load only AllOrders. The final query still evaluates the data it depends on. Connection-only does not mean a query is frozen, disconnected from the source or incapable of contributing to a refresh.
This reduces unnecessary result sheets, but it is not a promise that a source is fetched exactly once. Query evaluation, caching and source behavior can affect actual reads. Use staging because the workbook structure becomes clearer; measure performance in the real environment before claiming a particular speed improvement.
Use a Data Model for a modeling need
A supported Data Model can hold related tables and serve model-based PivotTables and measures. It can be suitable when the analysis needs relationships, distinct counts or DAX, or when detail does not fit on a worksheet. It is not an unlimited container and does not remove the need to validate source rows and totals.
Model authoring and refresh capabilities differ across Windows, Mac and browser Excel. This chapter's advanced model steps use a supported Windows desktop setup. The later Data Model chapter explains those features separately. A learner can complete the visible-Table labs here without pretending that every platform offers identical model tools.
A summary-only load still needs a way to verify detail
A PivotTable Report or PivotChart option can be convenient for a final summary. Keep enough source and query controls to explain the result. A report showing Pune 400 is much easier to trust when you can identify the contributing R1 and R3 records rather than relying only on the chart label.
Choose a new worksheet for early experiments. An existing-sheet destination needs an intentionally reserved area with room to grow. Imported data can expand after refresh, so keep unrelated notes and calculations outside the output region and inspect any Excel warning about the destination.
3. Lab 1: verify a three-order baseline
Create the source Table
In a new workbook named RefreshPractice.xlsx, create a SourceOrders sheet. Enter the following data in A1:C4 and make it an Excel Table named tblRefreshSource. One row is one fictional order, OrderID is unique and Amount is in INR. There are no cancelled or excluded records in this initial population.
| OrderID | City | Amount |
|---|---|---|
| R1 | Pune | 100 |
| R2 | Nashik | 200 |
| R3 | Pune | 300 |
- Check that the Table contains three data rows beneath its header.
- Confirm numeric Amount values of 100, 200 and 300.
- Record the accepted IDs R1, R2 and R3 on a Control sheet.
- Record total Amount 600, Pune 400 and Nashik 200.
- Click inside tblRefreshSource and choose Data → From Table/Range in a client supporting that route.
- Name the query OrdersChecked.
Make the fault test explicit
The following full query selects the expected fields, converts Amount to a number, and deliberately stops if any conversion error or missing amount remains. This makes the later failure lab unambiguous. A simple type-conversion step can produce cell-level errors; the explicit guard prevents this exercise from treating an error-containing output as accepted.
let
Raw = Excel.CurrentWorkbook(){[Name="tblRefreshSource"]}[Content],
Selected = Table.SelectColumns(Raw, {"OrderID", "City", "Amount"}),
Typed = Table.TransformColumnTypes(
Selected,
{{"OrderID", type text}, {"City", type text}, {"Amount", type number}}
),
ErrorRows = Table.SelectRowsWithErrors(Typed),
CheckedErrors =
if Table.RowCount(ErrorRows) > 0
then error "Review source conversion errors before loading."
else Typed,
MissingAmounts = Table.SelectRows(CheckedErrors, each [Amount] = null),
Result =
if Table.RowCount(MissingAmounts) > 0
then error "Every approved order needs a known amount."
else CheckedErrors
in
ResultThe header names must match exactly. A missing required column should produce a useful failure rather than selecting a similarly named field silently. This short query is a teaching example with known IDs and cities; it does not replace a full production identity, period or status validation policy.
Load to a new output sheet
- Inspect the final query result and confirm the three accepted records.
- Choose a Table load to a new worksheet.
- Name the sheet LoadedOrders and the resulting Excel Table
tblRefreshOutput. - Confirm that source and output are different Tables on clearly named sheets.
- On Control, use
=ROWS(tblRefreshOutput[OrderID])to check three records. - Use
=SUM(tblRefreshOutput[Amount])for 600 and SUMIFS by City for Pune 400 and Nashik 200.
The row-count formula excludes the Table header because it references the data column. A visual count that includes the header would say four rows on the sheet, which is not the number of orders. Keep that distinction visible in the Control sheet's label.
Create a regular city PivotTable
Insert a PivotTable from tblRefreshOutput on a Report sheet. Place City in Rows and Amount in Values, using Sum rather than Count. Expect Nashik 200, Pune 400 and Grand Total 600. Verify the PivotTable source refers to the intended output Table, not to the original input or a fixed range from another exercise.
At this point, all four layers agree on the baseline. Save a clean copy before changing anything. Record the source IDs, output IDs and report totals together. This gives the later refresh experiments a definite starting state.
4. Add an order and trace the update
Change the actual source
Add R4, Pune, amount 50 inside tblRefreshSource. Confirm the Table boundary includes the new row. The source now has four orders totaling 650, with Pune 450 and Nashik 200. Do not type R4 directly into tblRefreshOutput; that is the query's destination.
Before refreshing, observe the loaded result and PivotTable. Depending on configured automation, they may still show the baseline. Record what the application actually shows instead of assuming every workbook behaves identically. For a controlled manual experiment, inspect the relevant refresh settings in the practice copy.
Refresh the intended query output
- Locate OrdersChecked in the Queries & Connections pane.
- Request its Refresh operation, or refresh the connected output Table through the supported worksheet command.
- Wait for that operation to settle and inspect any reported errors.
- Check tblRefreshOutput for exactly R1, R2, R3 and R4.
- Verify four records, total 650, Pune 450 and Nashik 200.
- Refresh the dependent PivotTable and verify those same city totals.
The controlled increase is 50 overall and 50 for Pune. Nashik should remain 200. Checking a known unchanged group is valuable because it tests the scope of the update as well as the new grand total.
| State | Orders | Total INR | Pune INR | Nashik INR |
|---|---|---|---|---|
| Baseline R1–R3 | 3 | 600 | 400 | 200 |
| After accepted R4 | 4 | 650 | 450 | 200 |
Repeat without changing the source
Refresh again. The accepted result should remain four orders totaling 650. A normal query rebuilds its result from the current source; it does not append another R4 to its own output every time you click Refresh. If records grow on each run, inspect source selection and any output accidentally included as input.
A changed source record also needs refresh. In a separate copy, change R1 from 100 to 120 after the four-order state. Expect total 670 and Pune 470, with Nashik still 200. Restore 100 afterward and verify recovery to 650. The operation updates existing values as well as bringing in additional records.
5. Diagnose a failed refresh without trusting old numbers
Create one deliberate fault in a practice copy
Start from the verified four-order state totaling 650. Add R5, Pune, with the word pending in Amount. This represents an amount that has not been confirmed, not an order worth zero. Request a refresh of OrdersChecked and inspect its result and status.
The explicit query guard should reject the conversion error. The old loaded Table may remain visible with four orders totaling 650. That number is still a valid description of the previous accepted state, but it does not describe all five current source records. Record the failed attempt separately from the last successful result.
- Locate R5 in the source and identify the invalid Amount entry.
- Inspect the query's conversion step and error information.
- Check whether the loaded output still contains the old four accepted IDs.
- Label the update unresolved while R5's amount remains unknown.
- Correct the source from the exercise's confirmed value: 75.
- Refresh the query, then the dependent report, and verify recovery.
The corrected result has five orders totaling 725. Pune increases from 450 to 525, while Nashik remains 200. This is the acceptance test: the new ID appears exactly once and its known amount explains the total change. A disappearing error message alone is weaker evidence.
Missing and zero describe different facts
In another copy, leave R5's Amount blank. The explicit missing-amount guard rejects that state. Entering numeric zero instead produces five known amounts totaling 650, with Pune 450 and Nashik 200. The total matches the old four-order state even though the accepted record count differs.
This demonstrates a useful diagnostic habit: verify identity and count alongside amount. An unchanged grand total does not prove that refresh failed. A newly accepted zero-value record can change the population without changing its sum. Conversely, an old displayed sum can survive a failed attempt to read new data.
Keep a small refresh record
On the Control sheet, record the attempted update time, the intended source version, its expected order IDs, and the last accepted count and amount. Keep the attempt status separate from the last verified result. A note such as “Attempt failed: R5 amount unresolved; last accepted result has four orders and total 650” is much clearer than an unlabeled time beside a plausible total.
After recovery, record the new verified state: five orders, total 725, Pune 525 and Nashik 200. Do not overwrite the failure note before the cause is understood. The short record helps a teammate distinguish a source delay, a transformation error and a report that simply has not been refreshed yet.
A timestamp generated when a workbook opens is not necessarily the successful-refresh time. Likewise, a source file modification time does not prove that its records were loaded into the report. Label each time according to the event it actually represents. For shared reports, use an agreed time zone so students comparing two observations do not mistake a display difference for a delayed update.
Automated refresh needs an explicit success check too
A macro calling Workbook.RefreshAll is not a universal completion certificate. Microsoft documents that a worksheet-loaded Power Query failure can retain old data without raising a VBA runtime error, including when background refresh is disabled. Code reaching its next line therefore does not prove that the new report is ready.
Automation should inspect the supported connection-specific result and error handling, then verify expected controls before saving or distributing an output. CalculateUntilAsyncQueriesDone concerns pending OLEDB and OLAP queries; do not describe it as a guarantee covering every connector, model, formula and report. Keep the beginner manual verification working before building automation around it.
6. Lab 2: load the final append and retain two stages
Build two small sources in a separate workbook
Use a new workbook so this experiment cannot accidentally append the earlier loaded output. FreshGo and MarketRush are fictional delivery services. Their records use the same three fields and INR units. The combined order IDs are unique across both sources in this exercise.
| OrderID | City | Amount |
|---|---|---|
| R1 | Pune | 100 |
| R3 | Pune | 300 |
| OrderID | City | Amount |
|---|---|---|
| R2 | Nashik | 200 |
- Create both Excel Tables on clearly labeled source sheets.
- Import tblFreshGo using From Table/Range and name its query FreshGo_Stage.
- Confirm its fields and types, two records and total 400.
- Choose connection-only staging without selecting a separate Data Model load.
- Repeat for tblMarketRush, naming its query MarketRush_Stage.
- Verify that this second stage contains one record totaling 200.
- Use Append Queries as New to combine the two stages into AllOrders.
- Load AllOrders to a new worksheet Table named tblAllOrders.
Check the result before making it a report
Expect three records totaling 600: R1 and R3 contribute Pune 400; R2 contributes Nashik 200. Append matches corresponding column names. An accidental AmountINR header in only one source would not mean the same thing as a matching Amount header; inspect the resulting schema as well as the total.
The two staging queries remain available even though they have no separate worksheet result. AllOrders uses their transformations. This is a dependency chain, not a manual copy-and-paste operation. Reopening the editor should show the query names and their intended relationship clearly.
Make a controlled source change
Add R4, Pune, 50 inside tblFreshGo. Its stage should now contribute three records totaling 450. MarketRush remains one record totaling 200. Refresh the final result and verify four records totaling 650. If a PivotTable uses tblAllOrders, refresh and reconcile that report too.
- FreshGo control: three accepted IDs and amount 450.
- MarketRush control: one accepted ID and amount 200.
- Combined control: four accepted IDs and amount 650.
- City control: Pune 450 and Nashik 200.
- Repeat control: another refresh with unchanged sources still gives four records.
- Scope control: tblAllOrders is an output and is not another appended source.
After the exercise, explain the benefit without making a speed claim: the workbook exposes one final result while retaining readable preparation steps. A teammate can inspect FreshGo's source problem without searching through several unnecessary loaded copies of the same records.
7. Use the refresh command that matches the layer
Refresh Preview helps inspect a query
The editor's preview is a working view of query data. Refreshing that preview is useful after a source change, but it does not by itself establish that every worksheet output and dependent report now contains the same accepted result. Return to the actual destination and perform its relevant load or refresh workflow.
Be careful when inspecting an intermediate step. A filtered query may intentionally show fewer final records than its Source step. A learner should state which step was checked, what its rule does and which destination receives the final result.
Refresh a selected query to isolate a problem
When one source is failing, refreshing its query or connected worksheet Table can make the investigation easier to follow. Record the expected change first. In Lab 1, the specific question is whether OrdersChecked now accepts R4 and loads total 650, not whether any item in the workbook changed.
If dependencies exist, the selected query may evaluate those dependencies. Do not infer the number of source reads from the number of clicks. For teaching, the important evidence is the accepted result and the reported status for the chain being investigated.
Refresh All is a request, not a checked business conclusion
Refresh All is convenient for a workbook with multiple connected objects. However, clicking it does not establish that every source was available, every configured object participated or every operation finished successfully. Inspect settings, status and the specific reports that will be used.
Some operations can run in the background. A workbook may remain usable while work continues. Avoid saving a supposedly final export immediately after the click; wait for the relevant operation to finish and verify the resulting record controls. Background availability differs by connection, and model or OLAP retrieval does not use every ordinary connection option.
Calculate and save are separate actions
- Calculate: updates worksheet formulas according to the calculation configuration.
- Query refresh: reads and transforms the configured source.
- Load: places the result in its chosen destination.
- PivotTable refresh: updates that analysis from its intended source.
- Save: stores the workbook's current state.
Pressing a calculation shortcut does not replace the external-data refresh workflow. Saving stale numbers preserves a stale state. If a formula supplies a query parameter, make sure that formula has the intended current value before the query uses it, then verify the downstream result.
8. Configure refresh settings with a clear expectation
Opening a workbook can trigger supported refresh behavior
Where the connection exposes Refresh data when opening the file, the option can request an update during opening. Source access, credentials, prompts and errors still matter. Reopen a safe practice copy and check the actual result rather than assuming the checkbox proves that a report is current.
Opening a workbook in a different client can change which refresh features are available. Document the supported environment beside the workbook's instructions. A student should know whether the task expects Windows desktop Excel, a supported Mac workflow or a particular browser connection.
An interval is not a closed-workbook scheduler
A supported refresh-every-N-minutes setting operates within its supported open-workbook environment. It should not be taught as a service that updates a closed file overnight. Unattended reporting requires a separately supported automation arrangement and monitoring, with its own source and destination capabilities.
For the classroom exercise, keep refresh manual until the expected controls are understood. Then test one setting at a time in a copy. If both opening and interval settings change together, it becomes harder to explain which event produced an observed update.
Preview download is another distinct setting
Background downloading of query previews helps the editor prepare data for inspection. It is different from a workbook connection's background refresh option. Their names sound similar, but their purposes and effects should not be treated as interchangeable.
Preserve appropriate source access
A successful refresh depends on access to the configured source. If a folder moved or an account lacks permission, diagnose that issue at the connection. Do not put passwords into an ordinary worksheet cell or disable privacy settings as a general troubleshooting instruction. Use the connector's supported authentication and approved source configuration.
9. Change destinations without losing the report's meaning
Inspect dependents before changing Load To
A worksheet formula or PivotTable may refer to the current output Table. Switching its query to another load destination can affect that dependency. Make the change in a copy first, note the current Table and report sources, then inspect formulas, connections and totals afterward.
Do not promise that every Excel version handles an existing output identically when load settings change. Read the dialog's message and verify the actual workbook. The student's goal is to retain a correct report, not simply make a particular checkbox match a screenshot.
Leave room for worksheet growth
An Excel worksheet has 1,048,576 rows in total. If a query Table begins with its header in row 1 and has no Total Row, at most 1,048,575 rows remain for records in that sheet. A lower starting position or an additional Total Row reduces the available space further.
A Data Model has different limits and depends on memory, Excel architecture and the host environment. It is not unlimited. Choose a model because it suits the analytical design and supported environment; do not present a single arbitrary row threshold as a universal rule for every workbook.
Schema changes deserve a separate review
Renaming Amount to Revenue can break a transformation, formula or measure that expects Amount. Adding a column may also affect an earlier selection step or change a downstream analysis. Refresh cannot decide whether the new field has the same business meaning as the old one.
- Record the expected field names and types.
- Keep one row's meaning explicit: order, order line or summary.
- Inspect transformation steps that select or remove columns.
- Check the final Table and any formula references.
- Verify report filters and labels after the change.
- Reconcile the result before replacing the approved workbook.
Use platform guidance for the actual task
Power Query is available in supported Excel for Mac and Excel for the web scenarios, but connector and editing capabilities differ. Web Excel can refresh supported sources; that does not mean it refreshes every workbook or Data Model connection. Microsoft currently lists browser refresh of queries loaded to the Data Model as unsupported.
Power Query itself is not supported in Excel for iOS or Android. You can read this course on a phone, but these query-authoring labs need a supported Excel environment. A learner using Mac should check the current connector list before attempting a Windows-specific model or import step.
10. Rehearse a report update in four steps
Follow R4 from source to report
Confirm the source change
R4 is inside tblRefreshSource with Pune and Amount 50. Four source records total 650.
Check the query result
OrdersChecked accepts the expected fields, amounts and four IDs without an unresolved error.
Check the loaded Table
tblRefreshOutput contains four records, total 650 and Pune 450.
Check the report
The refreshed city PivotTable agrees: Pune 450, Nashik 200, grand total 650.
Ask a partner to stop the demonstration at any stage and explain what has been proved so far. A correct source proves that the intended input exists. A correct output proves more, but an independently filtered report can still display another population. This habit makes handovers easier because each statement has a specific piece of evidence behind it.
11. Practice tasks and worked answers
Try each task before opening its answer. Keep fault experiments in copies and record the expected IDs as well as totals.
1. Build and explain the baseline.
Use R1 100, R2 200 and R3 300. Three orders total 600. Pune contributes 400 through R1 and R3; Nashik contributes 200 through R2. Verify the source, output and report separately.
2. Add R4 without editing the output.
Add Pune 50 inside the source Table. After the relevant refreshes, expect four orders totaling 650, Pune 450 and Nashik 200. Typing directly into the loaded Table is not a substitute for correcting its source.
3. Refresh the unchanged source twice.
The result should remain four orders totaling 650. Repeated refresh should not append another copy of R4. If it does, inspect whether an output or duplicate export has been included as input.
4. Correct an existing source amount.
Change R1 from 100 to 120 in the four-order state. Expect 670 overall and Pune 470 after refresh. Restore 100 and verify recovery to 650. A refresh handles corrections as well as new records.
5. Introduce the pending-amount fault.
Add R5 with Amount pending. The explicit guard rejects the conversion error. Old loaded 650 may remain visible, but it does not prove that the five-record source was successfully processed.
6. Recover from that fault.
Replace pending with the confirmed amount 75, refresh and check five orders totaling 725. Pune is 525 and Nashik 200. R5 must appear exactly once in the accepted output.
7. Compare blank with numeric zero.
The explicit missing-amount guard rejects a blank R5 amount. Numeric zero is known and accepted: five orders total 650. The identical amount total makes the record-count check essential.
8. Build the two-stage append.
FreshGo contributes R1 and R3, totaling 400; MarketRush contributes R2, totaling 200. Keep both as staging-only queries and load AllOrders. Expect three records totaling 600.
9. Update one staged source.
Add R4 50 to FreshGo. Its contribution becomes 450 across three records. MarketRush remains 200 across one. The final append becomes four records totaling 650 after refresh.
10. Explain a current preview and an old report.
They are different layers. Inspect the final query result, refresh or load its configured output, then refresh and verify the report using that output. Check the report's source and filters too.
11. Review a proposed overnight refresh setting.
An interval option is not a promise to update a closed workbook. Identify the supported open-workbook behavior and any separately required automation before describing the report as unattended.
12. Write a short handover note.
Name the source Table, query, destination and report. State the accepted baseline, supported Excel environment, refresh sequence and failure checks. Include a recovery copy so the next learner can reproduce a known result.
12. Interview questions and quick checks
Can a connection-only query still contribute new data?
Yes. A downstream query can evaluate it as a dependency. Staging-only here means no separate worksheet or model load for the stage; it does not mean its transformations stop working.
Does Refresh Preview prove a worksheet Table is current?
No. Inspect the actual destination after its relevant load or refresh operation. The editor preview and loaded worksheet result are different objects.
Can a failed refresh leave plausible values visible?
Yes. A previously loaded result can remain. Check status, errors and expected controls before presenting those numbers as the result of the latest source state.
Does an unchanged total mean refresh did nothing?
No. Adding a zero-value record changes count and identity without changing the sum. A filtered-out record can also leave a report's total unchanged. Check the defined population.
Is Only Create Connection always equivalent to no model data?
No. In relevant dialogs, Add this data to the Data Model is a separate selection. Inspect both settings before calling a query staging-only.
Which result should a refresh macro validate?
The specific destination and report used by the business, with expected identities, counts and amounts. Completion of the macro's next line is not sufficient evidence that every refresh succeeded.
Does saving a workbook fetch fresh external records?
Saving preserves its current state. Use the supported refresh process, verify the result and then save the accepted workbook. Do not confuse storage with data retrieval.
When is a Data Model load appropriate?
When relationships, measures or supported analytical scale call for it. Consider platform and resource limits, retain source controls, and avoid treating the model as an unlimited replacement for worksheet design.
13. Revision cards
- Name every layer. Source, query, destination and report have separate roles.
- Check the final output. A preview alone does not establish a current report.
- Keep source and output apart. Correct inputs instead of patching loaded results.
- Read failure status. Older numbers can survive an unsuccessful update.
- Verify count and identity. Equal totals can describe different records.
- Test the supported environment. Platform and connection capabilities affect the workflow.
Continue with the Excel Task Hub and the chapter's combined-report practice. For every refresh exercise, predict a small known change, trace it through the workbook and explain the accepted result in a sentence that another student can verify.