日期:2014-05-18 浏览次数:20479 次
with member measures.LTY as sum( {Head([Date].[Calendar].[Calendar Year]).item(0) : [Date].[Calendar].currentmember} ,[Measures].[QTY] ) select {measures.LTY } on 0 ,{ [Date].[Calendar].[Calendar Year].&[2008] : [Date].[Calendar].[Calendar Year].&[2009] } on 1 from [Cube]