Skip to main content


This section discusses comments in DeepSee MDX queries and in stand-alone MDX expressions used within model definitions.


You can include a comment of the following form in any MDX query or expression, at any place where white space is acceptable.

/* comment here */

You can include comments of the following forms as separate lines within an MDX query or expression.

-- comment


// comment

You can also use the preceding two forms at the end of a line that contains MDX.


The following examples show valid MDX queries:

select /* change this later */ birthd.decade.members on 1 
from patients
select birthd.decade.members on 1 --comment
from patients // comment
//another comment
FeedbackOpens in a new tab