Tableau / Advanced: quality and governed delivery / Lesson 21
Extract Refresh Reconciliation
Verify extract freshness and source agreement using control counts, timestamps, and representative consumer access.
On this page
Lesson goals
- Define a source-to-extract freshness contract.
- Compare distinct identifiers and update timestamps.
- Test late changes and published refresh behavior.
Define freshness and identity
An extract is a stored snapshot, so its contents and refresh time need an explicit contract. Record the source, selected fields, filters, refresh owner, schedule, credentials, and expected data cutoff. Distinguish the time a refresh completed from the latest business event or source update represented in the extract.
In this bounded Tableau lab, use a synthetic source with a stable Record ID and Updated At field, including one late correction. The calculated fields below require that workbook and are illustrative; the public reader does not execute them. Confirm current refresh capabilities for the actual Tableau deployment.
Compare distinct identifiers
Create the following control measure in both a source comparison and the extract view using the same filters. Compare the count alongside total rows and a known additive measure; distinct count alone can hide changed values or duplicate rows. Inspect records around the data cutoff and reconcile exclusions.
COUNTD([Record ID])
COUNTD counts distinct Record ID values in the current view context.
Compare update times
The next measure provides the maximum visible update timestamp. It is useful evidence but does not prove every older record is current: a late correction or deletion can be missed while a newer record supplies the maximum. Compare representative identifiers and source totals, and document timezone and timestamp semantics.
MAX([Updated At])
MAX returns the latest non-null Updated At value in the current view context.
Test the refresh strategy
Apply a known correction and, where relevant, a deletion to the test source. Run the approved refresh method and check whether the published extract reflects each change. Incremental and full refresh behavior depends on configuration and product version; use the documented method and do not assume a successful job covers all historical changes.
Verify the consumer path
Check refresh history, credentials, data-source identity, and schedule in the published environment. Compare a non-sensitive control record and data cutoff using a representative consumer account, including a denied-access case. Preserve the prior extract or recovery procedure until reconciliation succeeds, and record limitations and ownership.
Common errors and fixes
A workbook opens but displays old values.
- Why it happens
- The extract refresh failed or used a different source or credential.
- How to fix it
- Trace refresh history and source identity, then rerun the approved refresh.
- Prevent it next time
- Monitor refresh success and data cutoff separately.
A late correction is missing despite a recent maximum timestamp.
- Why it happens
- The maximum timestamp reflects another record and does not verify all historical rows.
- How to fix it
- Compare the changed identifier with the source and apply the appropriate refresh.
- Prevent it next time
- Keep late-change fixtures and source controls.
A matching distinct count is treated as complete reconciliation.
- Why it happens
- Changed or duplicated values can preserve the same distinct count.
- How to fix it
- Compare totals and representative records as well.
- Prevent it next time
- Use multiple independent controls.
2 practice exercises
1. The extract and source both have 100 distinct IDs, but one amount differs. Is the extract reconciled?
Show worked solution
No. The count verifies only one property. Compare amounts, update history, filters, and the affected record before accepting the extract.
2. Why can MAX Updated At be recent while an older correction is absent?
Show worked solution
A different recent record can determine the maximum. Trace the corrected identifier and verify that the chosen refresh method includes its change.
Key takeaways
- Refresh completion and data freshness are separate checks.
- Counts and maximum timestamps are useful but incomplete controls.
- Verify late changes and published consumer access.