在我的立方体中,我有两个度量:A存储 aaaaa 形式的值,B存储 bbbbb 等值。我想定义将给出值 aaaaa.bbbbb 的度量C.我怎样才能做到这一点?
答案 0 :(得分:1)
如果我理解你的问题,你可以这样做:
with member [Measures].[A] as 123
member [Measures].[B] as 456
member [Measures].[C] as val(cstr([Measures].[A]) + "." + cstr([Measures].[B]))
select {[Measures].[A], [Measures].[B], [Measures].[C]} on 0
from [YourCube]