Commenting MDX

Ideas and tips for enhancing your TM1 application
Post Reply
User avatar
gtonkin
MVP
Posts: 1192
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Commenting MDX

Post 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.
Post Reply