![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In Analysis Services : Calculated Members How do I perform a test like this: if ProjectCategoryID = "some_value" then return VALUE1 else return VALUE2 Found the IIF function but not familiar with the syntax.... Will only return #ERR or some errormessage The formula should look something like this..... iif([ProjectCategory].[Project Category Id] = "FP_Revenue",[Measures].[SalesAmount_RevenueHC],0) The dimension [ProjectCategory] has only one level [Project Category Id] |
#3
| |||
| |||
|
|
You might be looking to syntax: iif([ProjectCategory].[Project Category Id].CurrentMember.Name = "FP_Revenue",[Measures].[SalesAmount_RevenueHC],0) Vimmas "Tale Liereng" <TaleLiereng (AT) discussions (DOT) microsoft.com> wrote in message news:64CD0F53-1988-4021-A3D1-226292C0E479 (AT) microsoft (DOT) com... In Analysis Services : Calculated Members How do I perform a test like this: if ProjectCategoryID = "some_value" then return VALUE1 else return VALUE2 Found the IIF function but not familiar with the syntax.... Will only return #ERR or some errormessage The formula should look something like this..... iif([ProjectCategory].[Project Category Id] = "FP_Revenue",[Measures].[SalesAmount_RevenueHC],0) The dimension [ProjectCategory] has only one level [Project Category Id] |
![]() |
| Thread Tools | |
| Display Modes | |
| |