with member test as
case
when ([All Products].[All Products].[Group 2].&[1],[Measures].[minus-prod-trx])>0
then (ancestor([All Products].[All Products].[Group 2].&[1],2),[Measures].[minus-prod-trx])
when ([All Products].[All Products].[Group 2].&[2],[Measures].[minus-prod-trx])>0
then (ancestor([All Products].[All Products].[Group 2].&[2],2),[Measures].[minus-prod-trx])
end
問題: 上記の両方の条件が満たされる場合、どうすれば両方の値を取得できますか? 両方の条件が満たされているにもかかわらず、返される結果は 1 つだけです。私は試しました:
case
when [All Products].[Group 2].CURRENTMEMBER IS [All Products].[Group 2].&[1]
then...
しかし、それは機能していません。