Defines a semantic query.
Hierarchies
0-1
Object
A hierarchy of groups used in the query.
MeasureGroups
A set of measures to display. If Hierarchies is not specified or there is no Hierarchy that contains Groupings, this object is required.
CalculatedAttributes
A set of expressions that can be used throughout the query.
Parameters
A set of parameters to the query.
CustomProperties
Custom properties for the query.
EnableDrillthrough
Boolean
Indicates whether the query should have an optional DrillthroughContext parameter that identifies additional filter information for the query. DrillthroughContext is a reserved parameter name and cannot be used as the value of a ParameterName property.
This object can be used as the root node of an XML tree in the SMDL namespace. In this case, the XML represents a Semantic Model Query Language (SMQL) query.
For more information, see Drillthrough Context Parameter Values.