Element Details: DataLayer.MDX
 Back


Available in: Logi Info Source code name: DataLayer.OlapMdxIntroduced in: v11.2.040

Allows specification of an OLAP MDX query command that returns a cellset and populates an OlapTable or OlapGrid.

For OlapTables, the MDX command may be entered directly into the MdxSource attribute. Or, for OlapTables and OlapGrids, the MdxQuery element can be used to automatically generate the MDX command.

Not available in the Java version.

Element Group:OLAP DataLayers



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
ConnectionID
UserDefined
(Required) Specifies a connection to a data source that is defined in the Settings. For elements connecting to relational databases, default is the first Connection element in _settings.lgx.
HandleQuotesInTokens
True
False
Handle Quotes in Tokens makes it possible to work with tokens, such as @Request tokens, that contain single quotes in their values. When set to True, any tokens in the Source attribute will have single quotes "doubled" so that they work within the SQL statement. For example, imagine a SQL statement in a Source attribute like "SELECT * FROM Customers WHERE CompanyName LIKE '@Request.Name~%' ". Then, if the Name we are searching for is "Trail's Head", the SQL executed becomes "SELECT * FROM Customers WHERE CompanyName LIKE 'Trail''s Head%' ". The default for Handle Quotes in Tokens is False.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
MdxSource
UserDefined
MdxSource may be used to send a developer-coded MDX command to the OLAP server. MdxSource may only be used with OlapTable element. OlapGrid elements must use the MdxQuery element instead.



PARENT ELEMENTS

Click element to drill down for more information.

Auto Complete
Chart Canvas
Input Combo List
OLAP Grid
OLAP Table Xml Data


CHILD ELEMENTS

Click element to drill down for more information.

MDX Query


 Back to top


 Chart Debug