Commenting MDX

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

Commenting MDX

Post by gtonkin » Wed Mar 08, 2017 2:21 pm

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