# Block comments in calculations

> This is content from just-tim, the data-and-analytics channel by Tim Ngwena (formerly 'Tableau Tim'). Tim has 12+ years of hands-on BI experience and covers Tableau most of all, plus Power BI, Looker, Hex, SQL and data modelling, the analytics industry, and the craft of doing the job — always tool-agnostic and honest about the trade-offs.

- **Author:** Tim Ngwena (just-tim, https://just-tim.com/about)
- **Published:** 2020-12-15
- **Format:** Video · 2 min watch · transcript available
- **Topics:** Data visualisation
- **Tools:** Tableau (calculated fields)
- **Canonical:** https://just-tim.com/posts/block-comments
- **Watch:** https://www.youtu.be/O7hFA6w5XA4

I demonstrate Tableau's new block comment feature in calculations, showing how you can now comment across multiple lines using forward slash and star syntax instead of commenting one line at a time. I show this in the browser, but it's available on desktop and Tableau Server too.

## Key takeaways

- 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.

Watch the full video, read the transcript and use chapter deep-links on the page: https://just-tim.com/posts/block-comments

---
just-tim — Data and analytics, with a point of view. · https://www.youtube.com/channel/UC7HYxRWmaNlJux-X7rNLZyw · https://twitter.com/TableauTim · https://www.linkedin.com/in/timngwena
