Video | Tableau | Data visualisation

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.

Ever wanted to write comments across multiple lines? It’s now possible with the new way of writing comments across multiple lines in Tableau 2020.4

Tableau release notes

Quickly add comments of any length to your calculation windows with block comments. Simply start your comment with /* and end with */ to enable your comment to span multiple lines.