<?xml version='1.0'?> <Schema name="cangchuSchema" metamodelVersion="4.0"><PhysicalSchema><Table name="highway_toll"><Key><Column name="uid"/></Key></Table><Table name="dim_date"><Key><Column name="date_sk"/></Key></Table><Link source="highway_toll" target="dim_date"><ForeignKey><Column name="date_sk"/></ForeignKey></Link></PhysicalSchema><Cube name="YonghuCube" caption="高速"><Dimensions><Dimension key="id1" table="highway_toll" name="DimItem" caption="DIM"><Attributes><Attribute name="skr_id" keyColumn="skr_id" hasHierarchy="false" caption="收款人"/><Attribute name="id1" keyColumn="uid" hasHierarchy="false"/></Attributes><Hierarchies><Hierarchy name="Type2" allMemberName="All Path" caption=""><Level attribute="skr_id" caption="收款人"/></Hierarchy></Hierarchies></Dimension><Dimension name="Date" table="dim_date" type="TIME" key="ID" caption="时间"><Attributes><Attribute name="ID" keyColumn="date_sk" hasHierarchy="false"/><Attribute name="Year" keyColumn="year_number" levelType="TimeYears" hasHierarchy="false"/><Attribute name="Quarter" levelType="TimeQuarters" hasHierarchy="false"><Key><Column name="year_number"/><Column name="quarter_number"/></Key><Name><Column name="quarter_name"/></Name></Attribute><Attribute name="Month" levelType="TimeMonths" hasHierarchy="false"><Key><Column name="year_number"/><Column name="month_number"/></Key><Name><Column name="month_name"/></Name></Attribute><Attribute name="Day" levelType="TimeDays" hasHierarchy="false"><Key><Column name="year_number"/><Column name="month_number"/><Column name="day_of_month_number"/></Key><Name><Column name="day_of_month_number"/></Name></Attribute></Attributes><Hierarchies><Hierarchy name="Time" hasAll="true"><Level attribute="Year" caption="年份"><Annotations><Annotation name="AnalyzerDateFormat">[yyyy]</Annotation></Annotations></Level><Level attribute="Quarter" caption="季度"><Annotations><Annotation name="AnalyzerDateFormat">[yyyy].[Qq]</Annotation></Annotations></Level><Level attribute="Month" caption="月份"><Annotations><Annotation name="AnalyzerDateFormat">[yyyy].[Qq].[mm]</Annotation></Annotations></Level><Level attribute="Day" caption="日"><Annotations><Annotation name="AnalyzerDateFormat">[yyyy].[Qq].[mm].[dd]</Annotation></Annotations></Level></Hierarchy></Hierarchies></Dimension></Dimensions><MeasureGroups><MeasureGroup name="Count" table="highway_toll"><Measures><Measure name="Measure1" column="ys" aggregator="count" caption="缴款应收" formatString="Standard"/><Measure name="Measure2" column="ss" aggregator="sum" caption="缴款实收" formatString="Standard"/></Measures><DimensionLinks><FactLink dimension="DimItem" /><ForeignKeyLink dimension="Date" foreignKeyColumn="createDate"/></DimensionLinks></MeasureGroup></MeasureGroups></Cube> </Schema>