Forum Discussion

MagalyAzevedo's avatar
MagalyAzevedo
New Member
5 years ago
Solved

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?
  • Greg_Deckler's avatar
    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.

  • AlexisOlson's avatar
    AlexisOlson
    5 years ago

    Also, "--" works just like "//" for single-line comments.