Video | Tableau | Data prep | Data visualisation

Tableau Prep Builder: Cleaning / Cleansing data (Part 3 of 7)

Excel asks you to trust that every manual edit landed correctly, but Tableau Prep's clean step shows you exactly what changed and lets you reorder it.

Part ofTableau Prep Builder tutorial Jan-2020
Watch on YouTube
  • The clean step's toolbar adapts to the column you select and its data type, offering split, filter and calculation options for text but a reduced set for integers and dates.
  • Data roles such as city, postal code and country let you tag columns with geographic metadata that downstream tools pick up automatically for mapping and analysis.
  • Changes within a clean step aren't strictly sequential, so you can delete, reorder or drag steps, though reordering can break later steps that depend on earlier ones.
  • Group and Replace can cluster misspelled values automatically using pronunciation, common characters or spelling, and you can also build groups manually.
  • The bottom preview is a live Tableau view of your data, letting you drill from the high-level aggregate summary down to individual problem rows.

Tableau Prep's clean step replaces manual, trust-based Excel edits with a visual, undoable workspace that shows exactly what changed and lets you drill from an aggregate summary down to individual rows.

Tim uses the sample flow shipped with Tableau Prep, contrasting how you'd manually clean data in Excel with how the clean step handles the same problems: unclear data types, ungeographic-looking location fields, and inconsistent text values.

The Breakdown
  • Excel's manual cleansing has no audit trail 0:44

    In Excel you edit cells or columns directly and just have to trust the change applied correctly everywhere, with no visual summary of data types or overview of what's in each column.

  • The clean step's summary view and adaptive toolbar 4:09

    Selecting a column in the clean step opens a summary window whose toolbar changes based on the column's data type — text gives you splitting, filtering and calculations, while numbers and dates offer a reduced set of the same tools.

  • Data types and geographic data roles 6:51

    Tableau shows you each column's actual data type and lets you assign data roles like city, postal code or country to text fields; downstream tools then pick up that metadata automatically for mapping and analysis, something Excel can't do.

  • Recommendations suggest fixes for you 7:52

    Tableau Prep proactively suggests likely data roles or changes based on matching values in the column, and applying one just adds a change icon rather than altering the data itself.

  • Changes are visible, reorderable and removable 9:21

    Every edit appears as an icon in the changes list on the left; you can delete a step, drag it earlier or later, or click through prior steps to replay history. Reordering isn't purely cosmetic — moving a step earlier can break or change the result of steps that depend on it, so treat reordering with care rather than as a strict requirement.

  • Filtering and excluding rows 11:00

    You can right-click a value (such as null) and exclude it directly from the column view, and the bar charts in each column update live to show how much data remains.

  • Group and Replace for messy text values 11:41

    Rather than manually retyping inconsistent spellings as you would in Excel, Group and Replace can automatically cluster similar values by pronunciation, common characters or spelling, with a strength slider to control how aggressive the grouping is; you can also untick or add items manually to refine a group.

  • Tracing columns and building calculations 14:14

    Selecting a column shows lines tracing where it came from and where it flows to in the rest of the dataset, and you can create calculated fields directly from the column using the same kind of functions you'd expect from Excel, though lookups work differently and are handled more like joins.

Worth Knowing
  • Reordering a step can break later steps that reference something the moved step changed, so check the flow still runs after rearranging.
  • Recommendations only fire when there's a plausible match — not every column will get a suggested data role.
  • Group and Replace's automatic grouping (pronunciation, characters, spelling) is a starting point; you can still remove or add values manually.
Use It When

Reach for the clean step whenever you're handed messy, manually-maintained data — inconsistent spellings, unclear data types, ungeotagged locations — and need a visual, reversible way to fix it rather than trusting silent manual edits.

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.