7. PivotTables and PivotCharts
7.9 Report Connections, Refresh and Data Source
Get every panel on the same page. Connect the intended reports to the dashboard controls, verify the report reads from the intended source, and check a known changed row after refresh. Each check catches a different problem.
One dashboard, two different answers
Sana prepares a small delivery dashboard for a student operations project. The first PivotTable answers “How much recorded order amount came from each city?” The second breaks the amount down by order status. She clicks Pune on the City slicer and the first table shows ₹544. The second still shows ₹2,870. She then receives a revised export containing a new Pune order for ₹40, but ₹544 stays on-screen after a refresh. She has two separate questions to investigate.
- Was the City slicer set up to control the status panel? If it controls the city panel only, the panels can be correct for their different scopes.
- Did the extra order reach the data source that the PivotTable actually reads? A row in an updated file or an adjacent cell can sit outside that source.
- Did the report incorporate the updated source? If the new row belongs to the source and matches Pune, a verified current city total is ₹584.
The delivery examples use invented Blinkit and Amazon Now order records, and all amounts here are practice figures. A recorded order amount includes any status in an unfiltered total. Use “delivered amount” for the narrower Delivered subset.
Write down the question for each panel first
“Pune amount” and “all cities amount” can both be useful in the same dashboard. For example, a regional team might compare what happened in its city with a company-wide baseline. A dashboard where those are intentionally different should name each scope at the number, close to where the reader looks. If both panels are meant to answer questions about Pune, both must receive the city selection.
Make a two-column plan on paper. Give each panel a name, then list the controls it should follow. A city detail panel might follow City and Date. An all-city comparison might ignore City and still follow Date. When you test, vary one selection at a time. You can then distinguish a planned difference from a connection you forgot to enable.
Connect compatible PivotTables to a slicer
Read the connection list as a wiring diagram
A slicer is a visible filter with buttons for field items. Report Connections on the desktop slicer tab is the list of compatible PivotTable reports to which that slicer can apply its selection. Microsoft uses Slicer Settings and PivotTable Connections for the corresponding web controls. When you work with a timeline on supported desktop Excel, its report connections serve the same purpose for the date selection. Use the command applicable to your control and version.
- Listed and checked: the control can apply its selection to this report. Confirm by choosing a city with a known distinct total.
- Listed and unchecked: the report is eligible, and the selection is currently independent of it. Check the entry only if the design calls for shared scope.
- Missing from the list: verify report identity and data source compatibility. Check whether it comes from a separate copy, fixed range, external connection or Data Model before rebuilding anything.
Why matching column names are insufficient
Excel can reuse an internal data cache between PivotTables that use a compatible source. See it as Excel’s working copy of the records used to build a report. Two different tables might have the same headings and even the same values today. This makes their printouts look alike, but they still have separate source definitions. Suppose tblOrders is your current data and tblOrdersArchive is last week’s snapshot. Both have a City field, but a selection from a control on one should not be assumed to connect to the other. The eligible list is evidence from the workbook.
For a local worksheet demonstration, building both PivotTables from the same named table is the cleanest starting point. If a second report is missing, compare its source before replacing it. On a workbook copy you can also try duplicating a known compatible PivotTable, changing its fields, then checking again. If you choose to rebuild one, preserve the required value calculations, number formats, layout, links and filters. A replacement carrying the same title can still change the meaning of its totals.
Test the connection and the report's own filters
A connected control does not make every report identical. One might show Sum of Amount and another Count of OrderID. One might also have a date restriction, a Status page filter, or a value filter on cities. Compare values at the same scope and with the same calculation before expecting equality. When two filters affect different fields, for example Pune from City and Delivered from Status, the rows must satisfy both: the three Pune delivered orders are ₹64, ₹110 and ₹150, for ₹324. The Cancelled order of ₹220 is outside that subset. A city-only panel can still show ₹544.
If the report shows no rows after selecting a city, check the other filter first. Nagpur has a single Cancelled order in this example. Nagpur plus Delivered has no matching order. That empty result is compatible with a perfectly working connection and a perfectly current source. Test Pune or clear Status to separate “no matching data” from “the slicer had no effect.”
Find the source before pressing Refresh
Source extent and source freshness are different
The source is the table, range, connection or model the report reads. The extent is the part of the data that source includes. If a report reads Orders!$A$1:$I$11, the endpoint is row 11. With one header row, that supplies ten records. An order entered in row 12 exists in the workbook but lies outside the referenced rectangle. Refreshing the report can successfully read the same ten records again.
A named Excel Table sources the defined table contents. A new row needs to be inside that Table, with the relevant columns filled, before your report can incorporate it. Confirm its membership using the table name, the table boundary or Table Design controls where available. A colored cell beside the table is weak evidence because formatting can be copied. Likewise, an extra row after a gap may look like part of the export while belonging to no table.
For the simple local reports used here, select a PivotTable and open Change Data Source from the contextual PivotTable area to see what it really reads. If you spot a fixed range, update that range to include the new rows or change to an appropriate named Table. Preserve the original source address before changing it. For external and Data Model reports, use the applicable data-source and connection controls. Microsoft documents limitations on changing the source for a report based on the workbook Data Model, so don't assume the local table workflow can be applied there.
Check the schema when you replace the source
Schema means the fields available and the kind of value each one holds. A source can gain records without changing its schema. A source that changes OrderDate to Day or switches numeric amounts to stored text is a bigger change. A PivotTable using the previous field names and aggregations needs a deliberate retest. Compare the headings first. In a date report, check that an actual date from the new source appears correctly. In an amount report, check that Sum of Amount remains selected and that a known row contributes its value.
Record the grain too, meaning what one row represents. If the old source was one row per order and the new source has one row per product line, a count of order ID cells can count an order more than once. Switching to a named Table solves range management, but the definition of the metric still needs attention. In a report sent to someone else, write what this count represents and how repeated identifiers are treated.
BLK-1011 is in the source, confirm City is Pune, Status is Delivered and Amount is numeric 40. That row should affect the unfiltered amount and Pune Delivered total. It should have no effect on a Nashik-only panel. A positive and a negative control make the verification stronger than one changing total.Refresh with a result you can verify
Choose a refresh scope
Use a refresh command from inside a single PivotTable when you want to work on that report and its associated data. Reports sharing its underlying source can be affected, so check the other panel when isolation matters. Refresh All is a workbook-wide request and can include connections, queries and PivotTables. It is useful when a workbook update needs those pieces to run together and you expect their work. The wider action can require source access and take longer. Select a command based on the workbook structure and inspect the outcome either way.
Refresh on opening is a report or connection setting where the relevant version and data source support it. It can help a recurring workbook start with newer data when opened, but it doesn't tell you which rows were retrieved or whether the refresh succeeded. A stored result can still be present when access fails, an unrelated file was loaded, filters exclude a row, or a fixed source range is too short. Keep the source and validation checks on your release routine.
Microsoft's refresh article describes local-workbook PivotTable Auto Refresh on eligible newer builds and currently identifies availability for Microsoft 365 Insider participants. That feature can share its setting by data source. Treat it as a build-specific capability and verify what you see in your own Excel. It is separate from refresh on file open and separate from updating an outside data connection. The local labs below work as manual verification exercises even if your copy already updates a compatible PivotTable when a source cell changes.
Separate external import from PivotTable refresh
An external data connection has instructions for getting data from somewhere outside the displayed worksheet, for example a CSV exported by a service or a database. A query can select columns, clean values and load a table or model. If the PivotTable reads that loaded result, its useful freshness is limited by when that input completed successfully. Pressing a button does not show that the source delivered the period you expected. Examine the result before assuming the downstream report is done.
- Confirm the upstream file or connection. Check the expected delivery date, location and source identity. Two files named
orders.csvin different folders can both open perfectly. - Refresh the relevant import and check completion. Where a connection uses background refresh, Excel can return control while work continues. Check the connection or query status for completion before relying on updated counts.
- Check the loaded data footprint. Search for a known new record, count included rows, and calculate the expected difference. A query can successfully run and still exclude a row through its filter.
- Refresh or confirm the PivotTables reading that result. Check the actual source, then compare the known unfiltered total and a single filtered total matching the changed row.
- Reapply the intended view and save a verified copy. Record data period and scope beside the report. Inspect the saved state the recipient will open or the snapshot they will receive.
Refresh evidence for additions, changes and deletions
When one row is added, a count can help: ten becomes eleven in our lab. A correction to an existing row can keep the same count, so also check a numeric total and the changed record. If an upstream file replaces a duplicated delivery line with a different real record at the same value, checking just the count and sum could miss the change. Validate identity for records that matter. Choose evidence because you know something about the expected difference.
Suppose the source says a particular Cancelled row's amount was corrected from ₹220 to ₹200. With the other original nine records unchanged, the whole source sum should fall from ₹2,870 to ₹2,850. Pune all statuses falls from ₹544 to ₹524. Pune Delivered stays ₹324, and row count stays ten. This is why a delivery-only panel may look unchanged even when the workbook update succeeded. Reconcile the correct scope.
Walk a new order through the dashboard
Locate the record upstream
Find the new ₹40 Pune Delivered record by ID in the revised practice export. There are eleven raw rows. The city dashboard may still be correct for the ten rows delivered to its old source.
Confirm the actual source
Find that same ID inside
tblOrdersand verify its city, amount and status. The source contains eleven rows and totals ₹2,910. If the ID is outside the table, stage it correctly before testing report freshness.Refresh and reconcile unfiltered
Refresh the report using the checked source. Clear the practice filters so the report should read ₹2,910 and eleven order IDs. If one report still shows ₹2,870 and ten, inspect which source it uses.
Check who follows the city filter
Choose Pune on the City slicer. A connected all-status panel should show ₹584 after the new row arrives. A panel deliberately left independent can still show the whole amount. State the scope of each number before sharing.
Lab 1 · Make two panels follow Pune together
Prerequisites. Copy the ten orders from the chapter overview into a new workbook. Use the headings from that table, but label its first column OrderID with no space so it matches the check formulas below. Keep Amount numeric and Date as true Excel dates. One row is one order and every OrderID is populated and unique in this fixture. Turn the cells into a named Table called tblOrders. A supported desktop Excel with PivotTable slicers is the simplest route. Where a web connection command has a different name, use the version-specific instructions above.
- Build two PivotTables from
tblOrders. Give each a distinct PivotTable name if your version exposes it. Label the panels visibly as CityAmount and StatusAmount too. Use City in Rows for one and Status in Rows for the other. Add Sum of Amount and Count of OrderID to both. - Confirm both unfiltered totals are ₹2,870 and ten orders. The status breakdown is ₹2,215 Delivered across seven, ₹460 Cancelled across two, and ₹195 Returned across one. If you see Count of Amount, stop and fix the value field before using it as a money total.
- Insert a City slicer from the city report. Open its report connections and leave the status report unchecked. Select Pune. CityAmount now shows ₹544 from four orders. StatusAmount still has the all-city totals. Record the displayed state and the checkboxes.
- Clear the City slicer, return to its connection list and enable the status report as well. Select Pune again. Both reports include four orders. StatusAmount breaks them into Delivered ₹324 from three and Cancelled ₹220 from one. There are no Pune Returned orders in these ten rows.
- Clear the city selection and choose Nashik. Both totals should now be ₹360 with two orders, all Delivered. Check the registered names if one still shows Pune or all cities. This second city catches a report you might manually have filtered to Pune during setup.
- Clear the slicer filter and confirm the original grand totals. Save a copy recording which reports each control affects. To restore the deliberate independent setup, clear the slicer selection first, then remove the status report's connection and retest Pune.
Troubleshoot. If a report is absent in the connections list, select it and inspect its source. A copied set of rows on a different sheet can be the actual source despite having the same contents. If it is connected but has an unexpected subtotal, clear local report filters and check the same aggregation and selected data period. Keep a screenshot or a brief note only for your scratch workbook. Success is a repeatable two-city check, not the mere presence of a slicer.
Lab 2 · Prove why one report misses a fresh order
Prerequisites. Use a fresh copy with the same ten records and headings you prepared for Lab 1 in tblOrders in columns A through I on a sheet called Orders. Make a separate sheet called RangeCopy with the same ten records as ordinary cells A1:I11. Start a named-table report on a reporting sheet, and a second report explicitly from RangeCopy!$A$1:$I$11. Use City, Sum of Amount and Count of OrderID. Clear report filters before assessing the totals. The separate copied sheet preserves the fixed-range comparison even when a build recognizes a range on the same sheet as a Table.
- Check both reports against the ten-order baseline. These sources start with the same values. Write down their two different definitions from the data-source dialogs.
- On a scratch sheet named NewExport, enter a header plus this record: OrderID
BLK-1011, 9 Nov 2026, Pune, Blinkit, Snacks, Qty 1, Amount 40, Mins 10, Delivered. Use the exact headings from your copy of the fixture when matching the row to the others. - Refresh both reports while the record exists only on NewExport. The expected total for both remains ₹2,870 across ten. A successful refresh can give an unchanged result when the source does not contain the new record.
- Append the complete row inside
tblOrdersand check that the Table includes it. Copy the same row to row 12 on RangeCopy without editing the range report's source definition. The new ID now exists on both relevant worksheets but only one declared source includes it. - Refresh the reports again or verify their current state if your Table-based report already updated. The named-Table result is ₹2,910 across eleven. Pune becomes ₹584 across five. The fixed-range result remains ₹2,870 across ten and Pune stays ₹544 across four.
- Repair the fixed-range report in the scratch copy. Change its source to include row 12 or point it to
tblOrders. Refresh and confirm both now include the same eleven rows. If you choose to share a control after changing sources, check compatibility and test it again. - Finally limit a test report to Pune and Delivered. You should see ₹364 from four. Compare this against the original Pune Delivered amount of ₹324 from three. Clear your lab filters afterward. Retain the known input and output notes if you keep the practice workbook.
Troubleshoot. If the fixed-range report changed before you repaired it, inspect what its source currently includes. The exercise only isolates a fixed range if row 12 was outside the definition. If the table report count becomes eleven but the sum remains ₹2,870, check whether 40 is actually numeric and whether a filter or wrong aggregation is hiding its contribution. If both reports are short by more than a single row, use the ID list and a clean comparison rather than expanding the range until the totals look plausible.
| Stage | Table report | Range report |
|---|---|---|
| New export only | 10 · ₹2,870 | 10 · ₹2,870 |
| Appended and refreshed | 11 · ₹2,910 | 10 · ₹2,870 |
| Range repaired, both checked | 11 · ₹2,910 | 11 · ₹2,910 |
| Pune Delivered after repair | 4 · ₹364 | 4 · ₹364 |
Troubleshoot from the first failed checkpoint
A button moves and a panel does not
Start with a known test city. Use one that has a different total from the overall total. Check the panel's report identity, then look at the actual slicer connections. A slicer that is positioned just above a PivotTable is still a separate object. Moving it from one part of the screen to another does not connect it to the nearest panel. If you duplicate, rename or rebuild a report, review both the connection selection and its behavior. An unchecked connection can be intentional when a company-wide comparator must remain visible.
If the panel responds but some rows are missing, look at date and status selections. For example, Pune and Delivered in 2–4 November gives the same three Pune delivered orders in the original fixture. Narrow the date to 4 November, and only the ₹150 Pune order remains. If you reset City but leave that date narrowed, the new total for 4 November overall is ₹382 from the Pune and Kolhapur records. Restore the agreed filter state before calling the result stale.
The grand total changes, but the new ID is absent
A sum can change for more than one reason. Perhaps another order amount changed or the report still has a filter. Inspect the source record itself. If you need to prove membership in a specific view, build a small verification PivotTable or filter the source directly by ID under the same scope. Checking order identity and the amount distinguishes inclusion from coincidence. A record with the right city but the wrong status belongs to the broad city total and can be absent from the Delivered total.
For an upstream import, confirm the result's date window and last successful completion. A refresh can load yesterday’s export again if the folder path still references that file. A connection may also finish and return fewer rows due to access or query conditions. When you can't verify the fresh data, mark the report with the period you actually have and resolve the issue before sharing a new label.
The update makes the report wider
New values and item labels can change the space a PivotTable needs. On supported desktop builds, PivotTable Options includes layout and format settings such as the option to autofit column widths during updates. If a wider label keeps disturbing a carefully prepared header, assess that setting in a copy. Keep enough space for your expected numbers. Reopen and check output after the next data change. Formatting behavior is a separate check from row freshness.
Leave spare room next to and below growing PivotTables. A new city in Rows or a new status in Columns can expand the report. Place an unrelated title, notes or another PivotTable clear of this area, especially on a sheet expected to grow repeatedly. If a refresh warns about affecting an existing report or cells, investigate the contested space in the copy before replacing anything.
Decide what to save and send
Make a short handoff note with the input period, source name, meaningful filters, an unfiltered control total and the verified total in the shared view. For example: “Practice orders 2–9 November, verified eleven rows in tblOrders at ₹2,910. Dashboard opens on Pune Delivered, four orders for ₹364.” The note allows someone to tell the difference between a city slice and a smaller data delivery. Keep a dependency list when external sources require access the recipient may not have.
If a reviewer needs only a verified snapshot, export or copy the agreed result using the team's normal process and state its scope. If the reviewer needs an interactive workbook, confirm the slicers and reports work in the saved state and that the included source is appropriate to share. Test report functionality before distributing it. A date printed in the title describes the period you intend to show, so make sure it agrees with the records and active timeline.
Build a small refresh audit beside a growing report
Choose checks that cover source extent, value and uniqueness
Create a worksheet called Checks in the lab copy. Put the source name above the results. Enter three formulas that read the table itself: =ROWS(tblOrders[OrderID]) for the count of data rows, =COUNTIF(tblOrders[OrderID],"BLK-1011") for the number of occurrences of the new ID, and =SUM(tblOrders[Amount]) for the recorded amount. The initial answers are 10, 0 and 2870. After correctly staging the order, they are 11, 1 and 2910. Changing a slicer on the PivotTable doesn't alter these whole-table formulas.
For the changed scope, add =SUMIFS(tblOrders[Amount],tblOrders[City],"Pune",tblOrders[Status],"Delivered"). It is ₹324 at first and ₹364 after staging. Label this check “Pune Delivered from table,” so an all-city reviewer knows which filters or fields to select in the PivotTable. The independent formulas continue to read the table while the report runs its own aggregation. They let you see when a correct source and a stale or narrower report diverge.
These particular checks assume the original order grain and known clean numeric amounts. The row count includes table data rows even if an ID cell is blank. For a report that uses Count of OrderID, a missing ID changes the comparison. Check populated IDs and record uniqueness as separate properties. A source may be the right size and still contain a duplicate. Scan the new ID before adding it again, especially when the next file is a complete snapshot containing all previous orders.
Tell a repeated import apart from a correction
Imagine your teammate sees the ₹40 row in two incoming exports and pastes it twice into the source on a scratch copy. The reports can all refresh successfully to ₹2,950 and twelve records. Pune would rise to ₹624 and Pune Delivered to ₹404. Your ID formula returns two. The dashboard is faithfully summarizing a duplicate source row. Confirm that the two rows really represent the same order and reverse the accidental extra append in the scratch copy. If the two rows have different values, investigate whether the later record corrects the earlier one, using the data owner's policy. Guessing could remove a legitimate row.
A correction is different again. Suppose the already-loaded ₹40 becomes ₹45, and the official updated record replaces the prior version. Your original ten rows still add up to ₹2,870, the source still has eleven rows and the ID appears once. The revised all-order amount is ₹2,915. Pune all statuses becomes ₹589 and Pune Delivered becomes ₹369. If you add the ₹45 revision as a new record, the count and ID check expose an incremental load that should have been a replacement. Calculate how many rows and how much total should change before you press Refresh.
Put an “as of” label on the measure you actually use
Date can mean the event date or the receipt date of the file. The order in the lab is dated 9 November. The corrected record might reach you on 11 November. State “Order period 2 to 9 November” for the business view, and record the date of the verified refresh separately. That way a person reading the workbook doesn't infer that it includes orders placed on 10 or 11 November. If you apply a timeline to 2 to 8 November, an order dated 9 November does not belong in that view even after a successful update.
Write a test for the exact promise the dashboard makes. For instance, all-order total ₹2,910, Pune all statuses ₹584, Pune Delivered ₹364. Then write the expected unaffected slice, Nashik ₹360. Record whether other panels should follow City. Those four numbers and one connection expectation become a compact test a teammate can repeat when taking over the workbook.
Check a source load that produces twelve rows
Count BLK-1011. If the only unexpected copy is a replay of the new order, one ID occurs twice and the recorded amount is ₹2,950. A report at that total confirms what the current input contains. Fix the approved source in a scratch copy before rerunning the report.
Check a source load that changes amount without changing row count
The correct ₹40 to ₹45 revision keeps eleven rows and changes the amount from ₹2,910 to ₹2,915. Compare the individual row and two matching views. Counting rows alone misses the correction.
Check a display with the latest date excluded
Inspect which field powers the timeline and which days are selected. Under 2 to 8 November, the extra row dated 9 November cannot change the original ₹2,870 result.
Check a workbook that the recipient opens on a different platform
Ask them to verify the saved view and test a known selection in their version. An unsupported control or unavailable connection can change how they work with it. A written scope and verified snapshot help them compare results.
Quick quiz with explanations
1. Both reports use the same source. Should a new city slicer automatically drive both?
A. Yes. B. Only the reports connected to the slicer. C. Only whichever report is lower on the sheet.
B. Open the report connections list and verify the intended reports are checked. Then test a city whose total differs from all cities.
2. A new order sits in A12:I12 while the source ends at I11. What fixes the report?
A. Refresh the same range repeatedly. B. Change the source to include it, then verify the refreshed result. C. Change the font.
B. The source has ten included rows until its definition changes. A refresh can successfully reread those same ten.
3. What does a background query returning control to Excel tell you?
A. Its source is fully loaded. B. All PivotTables are updated. C. Check the refresh status and loaded record before relying on it.
C. Some connection types can return control while their work continues. Look for completion and the expected changed data.
4. Pune Delivered is still ₹324 after a Cancelled Pune order is corrected. Is that enough to conclude failure?
A. Yes. B. No, compare a total that includes the changed Cancelled row. C. Only on a worksheet with a slicer.
B. The corrected order is outside the Delivered scope. In the described correction, Pune all statuses falls from ₹544 to ₹524.
5. A report is missing from a slicer connection list. What should you check first?
A. The report name and actual source compatibility. B. The worksheet tab color. C. If both panels contain a City label, connect them by dragging.
A. Check the intended report and which data source it uses. Matching field labels are possible with unrelated tables.
6. After the source table really includes BLK-1011, what two checks isolate its contribution?
A. Pune total rises ₹40 and Nashik stays unchanged. B. Both cities rise ₹40. C. Any value changing is enough.
A. The new record belongs to Pune only. Counts move by one for the whole table and the Pune view, with Nashik unaffected.
Interview questions and example answers
- Why can two reports with the same data show different totals after you click a slicer?
- They may have different report connections or other active filters. In this example the status report stays at ₹2,870 when independent. Connecting it and selecting Pune makes its total ₹544, assuming no local filters. Check those observations before investigating corrupted data.
- How do you investigate a refresh that leaves the total unchanged?
- Check the source contains the changed ID in its declared extent. Confirm it reaches the report and belongs in the selected period, city and status. A source that has not incorporated the row and a correct filter that excludes it can produce the same displayed number.
- Why do you prefer a named Table for a growing local practice source?
- New rows admitted to the Table can become part of the same named source. I verify membership and refresh behavior and reconcile order count and amount. A fixed address ending at row 11 cannot include a new row 12 until the range is changed.
- How do you verify a workbook with an upstream query?
- I check source identity and refresh completion, then confirm a changed record in the loaded result. I verify the correct report reads that result, compare a total before and after, and reapply the intended filters for sharing.
- Does refresh when opening the workbook let you skip validation?
- I still confirm which input version was retrieved and whether it covers the expected rows. Refresh behavior depends on the source and version. I verify a known row and totals that match the workbook's intended scope before issuing the revised report.
- What changes after switching one report from a fixed range to a named Table?
- Its source can now include additional records inside that Table. I check field mappings, totals, layout, other connected reports and whether the intended slicer can still control it. The prior output alone does not prove the migrated setup is sound.
Revision cards
- Report Connections The selected control affects checked compatible reports. Prove the relationship with two known cities.
- Source extent The rows included in the declared input. A new cell outside a fixed range changes the sheet but leaves the source as it was.
- Staged record The new ID is present inside the table or model the report actually reads. Check its amount, date and labels.
- Refresh scope A targeted refresh and Refresh All have different reach. Check application and connection state before relying on a result.
- Same filter scope Compare the same period, city, status and aggregation. A legitimate difference should have a visible label or explanation.
- Release evidence Verify one changed record, a known total and a filtered view. Document the states somebody else will receive.