Refresh failures and stale data

Listen to this lesson

Episode 43 · 45:03

Every episode of this course is also a podcast: listen on Spotify.

This episode is a study companion for CompTIA Data+ DA0-002 and is not produced by or endorsed by CompTIA.

Objective 4.3 · Visualization and reporting · 20% of the exam

Why this matters

A report that was correct yesterday can be wrong today without anyone touching it, because the data under it stopped arriving, arrived late, or arrived in a different shape. The most damaging version is the quiet one: the dashboard opens normally, the charts render, the numbers look reasonable, and they are two weeks old.

The exam's objective includes solving reporting issues. This lesson covers how stale data goes unnoticed, freshness checks, the common causes of refresh failures, alerting, and what to do when users have already seen wrong numbers.

The lesson

How a report shows stale data without an error

Most reports do not fail visibly when their data stops updating. A BI dashboard that imports data on a schedule keeps showing the last successful import if a refresh fails. A report built on a table that a pipeline stopped loading shows whatever the table last contained. A scheduled email keeps arriving, with the same numbers each day.

Stale data is hard to spot because it is plausible: yesterday's figures look like today's. It is most often noticed by someone who knows what should have changed, such as a sales manager who closed a large deal that does not appear.

Partial refreshes are worse still. If a load stops halfway, the report may show this month's data for some regions and not others, or a total that is lower than it should be but not obviously wrong. A sudden drop in the latest period is often a sign of incomplete data rather than a real decline, which is why analysts treat the most recent period with caution until the data is confirmed complete.

Last-refreshed timestamps and freshness checks

The first defence is visibility: every report and dashboard should show when its data was last refreshed, prominently, in words a reader will notice, such as "Data as of 25 September 2025, 06:00". It lets users judge for themselves whether the numbers are current.

A timestamp only helps if it is accurate. It should record when the data was last updated, meaning the time of the latest source record or the last successful load, not merely when the report was last opened or recalculated.

The second defence is automated freshness checks. For each table or source, record the time of the most recent load or the latest record, define how old is acceptable, such as "no more than 26 hours for a daily load", and check it on a schedule. A table that breaches its freshness limit triggers an alert before anyone reads a stale report.

Freshness checks pair naturally with volume checks: a load that ran on time but delivered far fewer rows than usual is as much a problem as a load that did not run.

Broken connections, schema changes and renamed fields

Refreshes fail for a limited number of reasons, and knowing them speeds diagnosis.

  • Connection and credential failures: a password expired, a service account was disabled, a server moved, a firewall rule changed, or a token lapsed. These are among the most common causes, and they often follow routine security changes elsewhere.
  • Schema changes in the source: a column renamed, removed, or changed type; a table split or merged. A report that selects a column by name fails, or worse, silently picks up a similarly named column.
  • Source changes: a new system replaces an old one, a file arrives in a new location or format, or an API version is retired.
  • Upstream failures: an earlier pipeline step failed, so the report refreshed successfully from tables that were not updated.
  • Capacity and timeouts: data grew until the refresh no longer finishes within its time limit.

Diagnosis follows the data backwards: check the report's refresh log, then the tables it reads and when they were last loaded, then the pipeline that loads them, then the source. The failing step is usually the first place where the timestamps stop.

Alerting on a failed refresh

Failures should be found by a system, not by a reader. Alerting turns refresh problems into notifications sent to the people who can fix them.

Effective alerting covers:

  • Hard failures: a refresh or pipeline job that errored or did not run.
  • Freshness breaches: data older than its agreed limit.
  • Volume anomalies: far fewer or far more rows than normal.
  • Validation failures: control totals that do not reconcile.

Alerts should go to a named owner or team with the ability to act, include enough detail to start diagnosis, and be tuned so they fire on real problems. Alerts that fire constantly on normal variation are ignored, and an ignored alert system is no better than none. Where a failure affects readers, the alert should also prompt a notice on the report itself.

Telling users when numbers are wrong

When a report has shown wrong or stale numbers, users need to be told, even when it is uncomfortable. Decisions may already have been made on those figures.

A good response includes:

  • Flagging the report immediately, with a banner or notice that the data is incomplete or under review, rather than leaving it looking normal.
  • Notifying the known users, especially those likely to have acted on it, with what was wrong, which period and figures were affected, and when it will be fixed.
  • Correcting the data and re-running the report, then confirming the fix with validation checks.
  • Recording the incident: the cause, the impact and the change made to prevent it recurring, such as a new freshness check.

Being open about errors protects trust. A report whose owners announce and fix problems is more credible than one that has never admitted any, because every report has them eventually.

Practise what you just read

1. A dashboard opens normally with plausible charts, but its scheduled refresh has failed for two weeks. What does the dashboard show?

Select one

  1. An error page, because a failed refresh locks the report
  2. A warning, because BI tools mark failed refreshes on the page
  3. The last successful import, which looks like current data
  4. Blank charts, because stale data is purged automatically
Show answer

C. Most reports do not fail visibly. A dashboard that imports on a schedule keeps showing the last successful import, and stale data is plausible, which is why it is usually noticed by someone who knows what should have changed.

2. A sensor file's newest reading is 2025-08-29 at 23:00. At noon on 2025-08-31, with a freshness limit of 6 hours, what should a freshness check report?

Select one

  1. Stale, by 37 hours
  2. Stale, by 13 hours
  3. Fresh, within 6 hours
  4. Fresh, within a day
Show answer

A. From 23:00 on the 29th to 12:00 on the 31st is 37 hours, far beyond a 6-hour limit. A freshness check compares the time of the newest record with an agreed limit and alerts before anyone reads the stale report.

3. This month's sales in a report are sharply lower than last month's, with the month only just closed. What should an analyst suspect first?

Select one

  1. A real collapse in sales that needs reporting at once
  2. A seasonal pattern that repeats at every month's end
  3. An error in last month's figures, which were too high
  4. Incomplete data for the latest period, not a real fall
Show answer

D. A sudden drop in the most recent period is often a sign of a partial or late load rather than a real decline. Analysts treat the latest period with caution until the data is confirmed complete.

7 more questions on this objective are part of the full course.

Practise the full question bank in the exam simulator

Hands-on labs

All hands-on labs

This is an independent study companion for CompTIA Data+ DA0-002 and is not produced by or endorsed by CompTIA.