MDX filter members in a sum-function

Posted by Radagast2005 on Stack Overflow See other posts from Stack Overflow or by Radagast2005
Published on 2012-04-11T11:26:16Z Indexed on 2012/04/11 11:29 UTC
Read the original article Hit count: 226

Filed under:
|
|
|

I have an SSAS cube containing customers and their purchased memberships (let's say magazines).

I want to calculate the retention. I.e. how many customers remain a customer. To do this I specify a set (males, 30yrs, 1 january 2011).

I want to see if this set - identified by a customer number - is still present in the following months.

I named my set MySet2. What I try to do is: sum(measures.amount, [membership].[name].&[X], MySet2, [date].[date].currentmember)

However, the result is incorrect. The number is far to low. I suspect it still tries to account for all the males of 30 years old, but after a year they're not 30 anymore.

What am I missing? I looked at scope and filter, but I'm not sure how to apply it.

© Stack Overflow or respective owner

Related posts about ssas

Related posts about mdx