摘要: --=======================================================[维度表_日期].[年季月日].[年份].&[2012].&[2季度].&[06]--=======================================================SELECT NON EMPTY { [Measures].[T1], [Measures].[T2], [Measures].[T3] } ON COLUMNS, NON EMPTY { ([维度表_时间].[每小时].[每小时].ALLMEMBERS * [维度 阅读全文
posted @ 2012-07-09 10:58 chunshen 阅读(512) 评论(0) 推荐(0) 编辑
摘要: with member [Measures].[Total Sales] as 'Sum({[Product].[Brand].[Brand].members},[Measures].[Ending Inventory Cost])',format_string="#,#.00"member [Measures].[Rate] as [Measures].[Ending Inventory Cost]/[Measures].[Total Sales],format_string='0.00%'set [Brand] as 'AddCa 阅读全文
posted @ 2012-07-09 10:07 chunshen 阅读(347) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [D_Acct_II].[PID].&[50].[毛利润] AS [D_Acct_II].[PID].&[501]-[D_Acct_II].[PID].&[502]MEMBER [D_Acct_II].[PID].&[50].[净利润] AS [D_Acct_II].[PID].&[501]-[D_Acct_II].[PID].&[502]-[D_Acct_II].[PID].&[503]-[D_Acct_II].[PID].&[504]-[D_Acct_II].[PID].&[511]-[D_Ac 阅读全文
posted @ 2012-07-09 09:58 chunshen 阅读(622) 评论(0) 推荐(0) 编辑