带有IIF参数的MDX

时间:2015-06-02 22:38:30

标签: mdx ssrs-2012

我正在根据参数识别金额。我目前将@ClientType默认为'C'。

robocopy c:\temp c:\temp2 -a.txt

无论更改@ClientType,我仍然只返回FALSE。

1 个答案:

答案 0 :(得分:0)

尝试添加这两项措施检查其值:

WITH 
MEMBER [Measures].[ClntTypParam] AS @ClientType
MEMBER [Measures].[ClntTypParamC] AS 
  IIF (
    @ClientType = "c"
   ,"equalToC"
   ,"notC"
  )