Step Line Chart in Tableau: Tableau Quick Tip
A step line chart is one of the simplest ways to remove noise and let your audience see the trend without drowning in detail.
- A step line chart strips out daily noise so users can focus on the broader trend over time
- Use a FIXED level of detail calculation combined with DATETRUNC to aggregate the data at a higher level than your visualisation displays
- Typing DATETRUNC with 'week' returns the weekly total on every day in that week, which produces the stepped effect
- You can change the aggregation level (week to month) just by editing the truncation string in the calculation
- Be careful comparing two step charts side by side, as different aggregation levels change the axis scale and can mislead the user
A step line chart removes the daily noise from a normal line chart so viewers can see the underlying trend over a long time period, and you can build one with a single fixed level of detail calculation.
The example uses daily data (a count of records per day) plotted as a line, which looks noisy and makes the overall trend hard to see. The goal is to smooth this into a cleaner stepped trend without losing the date-level granularity on the axis.
- Spot the noise in a daily line chart 0:41
Plotting a measure at day level over a long continuous time period often produces a jagged line where the general trend is hard to see, even if you squint. This is the problem a step line chart solves.
- Create a FIXED LOD calculation 1:20
Right-click your measure and create a calculated field using {FIXED : SUM(...)}. This is the core building block — you need a fixed level of detail calculation to force aggregation at a coarser level than the visualisation's date grain.
- Add DATETRUNC inside the FIXED clause 1:40
Inside the FIXED calculation, use DATETRUNC on your date field to tell Tableau to stop aggregating at the day level and instead aggregate at a higher level, such as 'week'. This must go inside the fixed clause for the step effect to work.
- Understand why this creates the step effect 2:21
The calculation returns the total for the chosen period (e.g. the week) repeated on every day within that period, which is what produces the flat, stepped segments in the line.
- Plot it and compare to the raw line 2:40
Add the new calculated field to the view alongside the original daily measure and reduce the line size; the stepped version makes the trend within each period far easier to read, especially over multi-year datasets.
- Change the aggregation level anytime 3:00
As a quick tweak, you can edit the string inside DATETRUNC (e.g. 'week' to 'month') to re-aggregate at a different level — no need to rebuild the calculation from scratch.
- Watch axis scale when comparing charts 3:21
Charts aggregated at different levels (week vs month) sit on different axis scales, so placing two step charts side by side can mislead viewers even if the underlying trend looks similar — check the axes before comparing.
- Two step charts built at different aggregation levels (e.g. weekly vs monthly) will have different axis scales, so comparing them directly can visually mislead your audience even when the trend is genuinely similar.
Reach for this when you're plotting volume or counts over a long continuous time span and the day-to-day fluctuation is drowning out the trend you actually want the audience to see.
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.