2.33 SemanticQuery

The SemanticQuery element specifies a semantic query. This element 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.

The following are the child elements of the SemanticQuery element.

Child elements

SemanticQuery.CalculatedAttributes

SemanticQuery.CustomProperties

SemanticQuery.EnableDrillthrough

SemanticQuery.Hierarchies

SemanticQuery.MeasureGroups

SemanticQuery.Parameters

The following is the XML Schema definition of the SemanticQuery element.          

 <xsd:element name="SemanticQuery">
   <xsd:complexType>
     <xsd:all>
       <xsd:element name="Hierarchies" type="HierarchiesType" minOccurs="0" />
       <xsd:element name="MeasureGroups" type="MeasureGroupsType" minOccurs="0" />
       <xsd:element name="CalculatedAttributes" type="ExpressionsType" 
                    minOccurs="0" />
       <xsd:element name="Parameters" type="ParametersType" minOccurs="0" />
       <xsd:element name="EnableDrillthrough" type="xsd:boolean" minOccurs="0" />
       <xsd:element name="CustomProperties" type="CustomPropertiesType" 
                    minOccurs="0" />
     </xsd:all>
   </xsd:complexType>
 </xsd:element>