Page 1 of 1

Commenting MDX

Posted: Wed Mar 08, 2017 2:21 pm
by gtonkin
Sometimes I want to add comment to my MDX and saw a previous post regarding this. The --comment syntax did not seem to work anywhere other than the first line - after various trying the syntax from various languages, the format /* comment */ seems to work quite nicely.

Code: Select all

/* Header comment */
{[Dim].[Element]} /* Inline comment */
/* Multi
line
comment */
Warning: I have not seen (or looked particularly hard for) a reference by IBM supporting this - use at your own pleasure/peril.