Video | Tableau | Data visualisation | Data prep | Analytics

Analysing Fuel Economy with Tableau, Workflow & Google sheets

My fuel data showed 12 pence per mile on average, but a spike to 20p told the story of an oil leak.

Watch on YouTube
  • Connecting Tableau to Google Sheets lets you build a database-style analytics setup for very little cost
  • Hide unneeded fields and use the custom split function to break a date out of a single column during quick data prep
  • A true/false premium tag should be converted to a dimension before analysis
  • Dividing cost by miles driven and adding a formatted currency reference line reveals an average cost per mile (12p) and outliers (20p)
  • Cost-per-mile spikes can surface real-world issues, like an oil leak that dropped engine performance, while peaks and troughs otherwise reflect city versus motorway driving

Tim shows how connecting Tableau to a Google Sheet of everyday data (his car's fuel purchases) can surface real-world problems, like an oil leak, purely by tracking cost per mile over time.

He's logging fuel cost, miles driven and a few other fields in Google Sheets each time he fills up. The goal is to turn that log into a running view of fuel economy without building a proper database.

The Breakdown
  1. Connect Tableau to Google Sheets 0:00

    You can connect Tableau directly to a Google Sheet and treat it like a live data source, giving you a database-style analytics setup for very little cost.

  2. Hide fields you don't need 0:20

    As soon as you connect, do a quick pass of data prep: hide any fields that were only used for calculations inside the sheet itself, since you'll rebuild what you need in Tableau.

  3. Convert true/false tags to dimensions 0:42

    A field that behaves like a true/false flag (his was a 'premium fuel' tag) should be converted to a dimension before you start analysing it, otherwise it won't behave the way you expect in the view.

  4. Calculate cost per mile and add a reference line 1:20

    Divide cost by miles driven, then drop in a reference line formatted as currency to show the average — this is what turns raw spend into a comparable, standardised metric.

  5. Spot and investigate outliers 1:42

    With the average line in place, spikes above it stand out immediately; cross-referencing the date and miles driven for that spike let Tim work out what actually happened on that day.

  6. Interpret the pattern behind the numbers 2:21

    The average cost per mile stayed fairly stable, with normal peaks and troughs explained by city versus motorway driving — but one sustained spike (from 12p to 20p per mile) pointed to a real mechanical fault, an oil leak, rather than just driving conditions.

Worth Knowing
  • The oil leak wasn't found by inspecting the car first — it was flagged by the data, then confirmed afterwards.
  • Ordinary variation in cost per mile is expected and tied to driving type, so you need a stable average and reference line before you can tell a genuine anomaly from normal noise.
Use It When

Reach for this setup when you want lightweight, ongoing analysis of personal or small-scale operational data (fuel, expenses, usage logs) without setting up a full database — a spreadsheet plus Tableau is enough to catch real problems early.

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.