Commenting MDX

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

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
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