mdschemaMeasuresCubeRestrictions.xml 9.03 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
<?xml version="1.0" encoding="UTF-8"?>
<xmlacycle>
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
  <RequestType>MDSCHEMA_MEASURES</RequestType>
  <Restrictions>
    <RestrictionList>
      <CATALOG_NAME>${catalog}</CATALOG_NAME>
      <CUBE_NAME>Sales</CUBE_NAME>
    </RestrictionList>
  </Restrictions>
  <Properties>
    <PropertyList>
      <DataSourceInfo>${datasource}</DataSourceInfo>
      <Catalog>${catalog}</Catalog>
      <Format>Tabular</Format>
    </PropertyList>
  </Properties>
</Discover>
<xmla:DiscoverResponse xmlns:xmla="urn:schemas-microsoft-com:xml-analysis">
  <xmla:return>
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:EX="urn:schemas-microsoft-com:xml-analysis:exception" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <xsd:schema elementFormDefault="qualified" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <xsd:element name="root">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element maxOccurs="unbounded" minOccurs="0" name="row" type="row"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:simpleType name="uuid">
          <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
          </xsd:restriction>
        </xsd:simpleType>
        <xsd:complexType name="row">
          <xsd:sequence>
            <xsd:element minOccurs="0" name="CATALOG_NAME" sql:field="CATALOG_NAME" type="xsd:string"/>
            <xsd:element minOccurs="0" name="SCHEMA_NAME" sql:field="SCHEMA_NAME" type="xsd:string"/>
            <xsd:element name="CUBE_NAME" sql:field="CUBE_NAME" type="xsd:string"/>
            <xsd:element name="MEASURE_NAME" sql:field="MEASURE_NAME" type="xsd:string"/>
            <xsd:element name="MEASURE_UNIQUE_NAME" sql:field="MEASURE_UNIQUE_NAME" type="xsd:string"/>
            <xsd:element name="MEASURE_CAPTION" sql:field="MEASURE_CAPTION" type="xsd:string"/>
            <xsd:element minOccurs="0" name="MEASURE_GUID" sql:field="MEASURE_GUID" type="uuid"/>
            <xsd:element name="MEASURE_AGGREGATOR" sql:field="MEASURE_AGGREGATOR" type="xsd:int"/>
            <xsd:element name="DATA_TYPE" sql:field="DATA_TYPE" type="xsd:unsignedShort"/>
            <xsd:element name="MEASURE_IS_VISIBLE" sql:field="MEASURE_IS_VISIBLE" type="xsd:boolean"/>
            <xsd:element minOccurs="0" name="LEVELS_LIST" sql:field="LEVELS_LIST" type="xsd:string"/>
            <xsd:element minOccurs="0" name="DESCRIPTION" sql:field="DESCRIPTION" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:schema>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Customer Count</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Customer Count]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Customer Count</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>0</MEASURE_AGGREGATOR>
        <DATA_TYPE>3</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time.Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
        <DESCRIPTION>Sales Cube - Customer Count Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Profit</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Profit]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Profit</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
        <DATA_TYPE>130</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <DESCRIPTION>Sales Cube - Profit Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Profit Growth</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Profit Growth]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Gewinn-Wachstum</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>127</MEASURE_AGGREGATOR>
        <DATA_TYPE>130</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <DESCRIPTION>Sales Cube - Profit Growth Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Promotion Sales</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Promotion Sales]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Promotion Sales</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
        <DATA_TYPE>5</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time.Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
        <DESCRIPTION>Sales Cube - Promotion Sales Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Sales Count</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Sales Count]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Sales Count</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>2</MEASURE_AGGREGATOR>
        <DATA_TYPE>3</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time.Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
        <DESCRIPTION>Sales Cube - Sales Count Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Store Cost</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Store Cost]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Store Cost</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
        <DATA_TYPE>5</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time.Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
        <DESCRIPTION>Sales Cube - Store Cost Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Store Sales</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Store Sales]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Store Sales</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
        <DATA_TYPE>5</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time.Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
        <DESCRIPTION>Sales Cube - Store Sales Member</DESCRIPTION>
      </row>
      <row>
        <CATALOG_NAME>FoodMart</CATALOG_NAME>
        <CUBE_NAME>Sales</CUBE_NAME>
        <MEASURE_NAME>Unit Sales</MEASURE_NAME>
        <MEASURE_UNIQUE_NAME>[Measures].[Unit Sales]</MEASURE_UNIQUE_NAME>
        <MEASURE_CAPTION>Unit Sales</MEASURE_CAPTION>
        <MEASURE_AGGREGATOR>1</MEASURE_AGGREGATOR>
        <DATA_TYPE>5</DATA_TYPE>
        <MEASURE_IS_VISIBLE>true</MEASURE_IS_VISIBLE>
        <LEVELS_LIST>[Store].[Store Name],[Store Size in SQFT].[Store Sqft],[Store Type].[Store Type],[Time].[Month],[Time.Weekly].[Day],[Product].[Product Name],[Promotion Media].[Media Type],[Promotions].[Promotion Name],[Customers].[Name],[Education Level].[Education Level],[Gender].[Gender],[Marital Status].[Marital Status],[Yearly Income].[Yearly Income]</LEVELS_LIST>
        <DESCRIPTION>Sales Cube - Unit Sales Member</DESCRIPTION>
      </row>
    </root>
  </xmla:return>
</xmla:DiscoverResponse>
</xmlacycle>