Video | Tableau | Data visualisation | Analytics

Null explanation / detection in Ask data: New in Tableau 2021.3

Tableau 2021.3 can now flag when nulls are skewing your aggregations, but actually triggering that alert turned out to be a troubleshooting saga.

Part ofWhat's New in Tableau 2021.3
Watch on YouTube
  • Explain Data only works on aggregated marks, so nulls won't be detected on a scatter plot where individual data points render null and disappear from the view.
  • The new 'percentage of nulls' explanation type can be enabled and filtered to via the Explain Data configuration wheel under explanation types.
  • Visual grouping and Tableau's automatic 'other' grouping can break Explain Data, so manually grouping records works more reliably.
  • Double-clicking the generated field (or control-dragging it into the calculation window) reveals the underlying SUM(IF null then 1 else 0) calculation Tableau builds on the fly.
  • Tableau's documentation describes a 'higher than expected amount of missing data' but never defines the threshold, so a dataset deliberately full of nulls may normalise and fail to trigger the alert.

Tableau 2021.3 adds a null-value explanation type to Explain Data, which flags when a mark's aggregate is being skewed by a higher-than-expected proportion of nulls. Tim tries to trigger it with a deliberately null-heavy dataset and finds the behaviour inconsistent and undocumented, which is itself the useful warning.

Tim builds a test CSV with several columns that have progressively decreasing percentages of null values, then connects it in Tableau to try to force Explain Data's new null detection to fire.

The Breakdown
  1. Why nulls break aggregations 0:41

    Nulls in source data get skipped by aggregations like averages, silently producing misleading results rather than errors, which is the underlying problem this new explanation type is meant to surface.

  2. Scatter plots won't trigger it 2:13

    Explain Data's null detection only works on marks that aggregate multiple records together; if a view renders one data point per record, null values simply don't render and there's nothing for the feature to detect. You must aggregate several records into a single mark before this can ever fire.

  3. Visual grouping and 'other' can break it 3:04

    Drawing boxes to group points visually creates an automatic 'other' catch-all group, and Explain Data appears not to work properly against groups built this way. Removing the auto-generated 'other' category and separating points out let Explain Data start responding again.

  4. Turn on the percentage-of-nulls explanation type 4:55

    Open the Explain Data configuration wheel, go to explanation types, and make sure 'percentage of nulls' is enabled (it's new in this release) so Tableau specifically checks for null-driven anomalies when you run an analysis.

  5. Manual grouping worked more reliably 7:09

    After visual grouping repeatedly failed to surface the null explanation, manually building groups (rather than letting Tableau auto-group) finally got the feature to trigger consistently — worth trying if grouped views aren't producing results.

  6. Inspect the generated calculation 9:38

    Double-click the field Explain Data creates, or hold Control and drag it into the calculation editor, to see the underlying logic: a SUM(IF null THEN 1 ELSE 0) style calculation Tableau builds on the fly to score the percentage of nulls.

  7. Lower null percentages didn't behave predictably either 10:18

    Testing columns with much smaller null percentages, the explanation still fired inconsistently across similar-looking marks, suggesting some marks were treated as normal and others as anomalous with no obvious pattern.

  8. No documented threshold exists 11:49

    Checking Tableau's official documentation shows it only describes a 'higher than expected amount of missing data' without ever defining what that threshold is or how it's calculated, so you can't reliably predict when the alert will fire.

Worth Knowing
  • A dataset deliberately packed with nulls may end up 'normalising' the nulls in the algorithm's eyes, so it can paradoxically fail to trigger the alert.
  • Explain Data will not work on scatter plots or similar views where each mark is a single unaggregated record — nulls in that case just disappear from the view.
  • Visual grouping (especially Tableau's automatic 'other' bucket) seems to interfere with Explain Data's ability to analyse grouped marks; manual grouping was more reliable in testing.
  • Tableau's documentation doesn't specify the threshold used to decide what counts as a 'higher than expected' amount of nulls, so results can feel unpredictable even on data built specifically to trip the feature.
Use It When

Reach for this when you suspect null values are quietly skewing an aggregation (like an average) and want Tableau to flag it automatically — but treat it as an assist rather than something to rely on, since triggering it reliably can take trial and error with how your marks are aggregated and grouped.

How this Rollup was made provenance & method

A Rollup is drafted by AI from the video's transcript, then reviewed and edited by Tim. Everything used to produce this one is listed below — the model, the exact prompt, and the source video — so the process is transparent and reproducible.

Transcription
On-device — NVIDIA Parakeet v3 for recent videos, OpenAI Whisper large-v3 for earlier ones. The transcript never leaves the machine or gets published.
Drafting
Claude Sonnet 5 in the cloud, from that transcript.
Prompt
The exact Rollup prompt (v2) — the full system prompt, unedited.
Source video
Watch on YouTube
Drafted
5 July 2026 at 09:38
Reviewed & edited
5 July 2026 at 09:41 · by Tim Ngwena

Model + prompt + video is everything you'd need to recreate a Rollup like this yourself. The one thing we don't share is the transcript.

Rights. The video and its transcript are the property of TN Media Ltd. Unauthorised use or download is prohibited. © TN Media Ltd.