Home > @activeviam/activeui-sdk > Mdx
Mdx type
A string representing an [MDX](https://en.wikipedia.org/wiki/MultiDimensional_eXpressions) query or a subset of one.
Signature:
export declare type Mdx = string;
Remarks
This type can represent a whole statement or just an expression – anything that could be parsed without more context than it being MDX.
Example 1
const mdx = 'SELECT\n [Measures].[contributors.COUNT] ON COLUMNS\n FROM [EquityDerivativesCube]';
Example 2
const mdx = '[Measures].[contributors.COUNT]';
Example 3
const mdx = '"a string in MDX"';
Example 4
const mdx = '123';