[Quote=引用 1 楼 f926115 的回复:]
with
member measures.total as sum([Time].[month].[all],Measures.[Cost])
member measures.monthritio as 'measures.cost/measures.total'
select {[dimproduct].[all],[dim partment].[all]} on columns,
([Time].[Month].members) on rows from cube
where measures.monthritio