Forum Discussion
MagalyAzevedo
5 years agoNew Member
How can I add comments to a formula ?
I would like to add some comments in some of the calculated columns for maintenance purpose. Is there a way to add these comments in power bi?
- 5 years ago
MagalyAzevedo Yes, use // in your DAX formula for a single line or /* and */ for multiple lines. Also, in the Properties pane of your Model view in the Desktop, you can add a Description.
- 5 years ago
Also, "--" works just like "//" for single-line comments.
Greg_Deckler
Community Champion
5 years agoMagalyAzevedo Yes, use // in your DAX formula for a single line or /* and */ for multiple lines. Also, in the Properties pane of your Model view in the Desktop, you can add a Description.
- AlexisOlson5 years ago
Super User
Also, "--" works just like "//" for single-line comments.
- MagalyAzevedo5 years agoNew Member
Greg_Deckler thank you so much! We have created a full set of metrics for IT and it is getting complex, so I need to start adding some documentation : )