top of page
Search

Add Comments to Calculations

  • Writer: Serena Purslow
    Serena Purslow
  • Aug 21
  • 1 min read

Hey Tableau Community! Did you know you can add comments directly into your Tableau calculations? This simple trick can make your work more understandable, easier to revisit later, and more collaborative for anyone else working with your dashboards. It's a great way of documenting calculations as you go!


How to Add Comments in Tableau 💬

Single-line comments

Use // to create a comment

ree

Multi-line comments

If your explanation stretches across several lines, start with /* and end with */

ree


Why Comments Matter

Documenting your work isn’t just good practice - it’s essential:

  • Helps you understand your logic when revisiting a workbook after a break.

  • Makes it easier for others to follow your thought process and maintain your dashboards.

  • Keeps calculations clean, organized, and transparent.



Best Practice Tip 💡

Whenever you create a new calculated field, add a brief comment explaining what it does and why you built it. It only takes a moment, but it can save hours down the line!


I hope you find this trick useful! If you have any Tableau related questions feel free to let me know!



 
 
 

Recent Posts

See All
Custom Format Labels

Did you know that you can use the text editor in the Marks Card to customise the labels on your charts? Here's how!

 
 
 
Use the SIGN() function

Hey Tableau Community! Ever wondered what the SIGN() function does? SIGN() is a useful little function to quickly identify values as...

 
 
 
Dynamic Usernames

Hey Tableau Community! Did you know that you include dynamic usernames in your dashboards? You may have seen dashboards like this on...

 
 
 

Comments


background2.png

Get in Touch

  • Tableau Public
  • LinkedIn
  • Twitter
  • GitHub

By Serena Purslow. Powered and secured by Wix

bottom of page