I am using XI, created an OLAP Cube from SQL Server 2005 cube.
I am trying to add a Calculated Member in the cube with an IIF function. It is a simple IIF statement:
IIF([Measures].[Hours]<=40,[Measures].[Hours],40)
I have column in cube called Hours I am trying to insert a member which shows 40 if Hours is >40 otherwise it gives me the value from Hours.
Thats all I am trying to do but it is only showing values if it is <=40, not showing 40 if it is >40.
Any idea what could be the problem.
Thanks
I am trying to add a Calculated Member in the cube with an IIF function. It is a simple IIF statement:
IIF([Measures].[Hours]<=40,[Measures].[Hours],40)
I have column in cube called Hours I am trying to insert a member which shows 40 if Hours is >40 otherwise it gives me the value from Hours.
Thats all I am trying to do but it is only showing values if it is <=40, not showing 40 if it is >40.
Any idea what could be the problem.
Thanks