Block comments in calculations
Tableau finally added block comments to calculations, and it's a quality of life win I've wanted for years.
- The old way of commenting in Tableau calculations required adding a forward slash on every single line you wanted to comment out.
- Block comments let you open with a forward slash and star, write across multiple lines, then close with a star and backslash.
- This feature is available across desktop, Tableau Online and Tableau Server in the browser from version 2020.4.
Tableau's calculation editor now supports block comments, letting you comment out or annotate multiple lines at once instead of prefixing every line individually.
Comments in Tableau calculations previously had to be added one line at a time, which was tedious for anything longer than a single line. This is shown in the browser but works the same in desktop.
- The old one-line-at-a-time method 0:21
Previously, commenting required a forward slash at the start of every line; moving to a new line meant repeating it, which got tedious for multi-line notes.
- Open a block comment 1:01
In a calculation, type forward slash and star to start a block comment, then write your comment text, continuing onto new lines without needing to re-mark each one.
- Close the block comment 1:24
End the block by starting a new line with a star and backslash. Everything between the opening and closing marks is treated as one comment, giving you a clean, self-contained annotation block.
- Where it works 1:41
This syntax works on desktop, Tableau Online and Tableau Server in the browser, so it's usable wherever you write calculations, not just in one product.
- Available from version 2020.4 onwards.
- The feature makes it easy to write long documentation in comments, but that doesn't mean you should overdo it with whole paragraphs.
Reach for this whenever you need to document or temporarily disable multiple lines of a calculation, rather than commenting each line separately.
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.