BobP - BIM


I have had this calculated Member for over a year, when I applied SP2, I am returned an error.

I have looked on MSDN for something that would indicate what the change was, but cannot find it.

Here is the MDX:

Case

When IsEmpty( [Measures].[Loan Amount] )

Then 0

Else ( [Product].[All] * [Channel].[All] * [Date Closing Funded].[All] * [Loan Status].[Status Rollup].&[Closed]* [Date Closing Funded].[MonthName].CurrentMember, [Measures].[Loan Amount])

End

Again, this has been working for over a year.

Any help would be greatly appreciated!

BobP





Re: SP2 Calculated Member Issue

Jeffrey Wang


The expression in your else branch doesn't look right. The subexpression using *'s can only be a set if the * is interpretted as crossjoin or a scalar if the * is interpretted as multiplication. In either case the else branch cannot be a valid tuple expression.

Do you actually mean to have the following

( [Product].[All], [Channel].[All], [Date Closing Funded].[All], [Loan Status].[Status Rollup].&[Closed], [Date Closing Funded].[MonthName].CurrentMember, [Measures].[Loan Amount])