我試圖創建在計算度量的公式,但沒有正常工作上濾波的多部件
維細胞SSAS計算值度量具有多個成員,包括控制與核心。我也有措施被稱爲[措施]。[費用]這是預先計算的百分比
我需要實現以下公式
(([Measures].[Rate] in [Cell].[ABC].&[Control] and [Cell].[ABC].&[Core])
- ([Measures].[Rate] not in [Cell].[ABC].&[Control] and [Cell].[ABC].&[Core]))
/([Measures].[Rate] in [Cell].[ABC].&[Control] and [Cell].[ABC].&[Core])
喜歡的東西(A + B)/ A,但我不能夠計算個別A和B.
請注意[措施]。[費用]是個格式,所以不能概括
編輯
同時,任何想法,如果相同以上必須用不同尺寸的兩個切片來完成單個測量
例如。
([措施]。[速率]在[電池]。[ABC]。& [控制]和[電池]。[ABC]。& [核心]也[數據] [PQR]。& [是])
或
SUM (
{ [Cell].[ABC].&[Control] , [Cell].[ABC].&[Core] }
,{[Data].[PQR].&[Yes])}
,[Measures].[A]
)
以上是可行的還是什麼將是它的語法
感謝 我裏面聚集了尺寸後移動的措施它的工作 – Ashish