A snapshot cube has three dimensions: Status (inactive, active), month, member, the measure is count (count of member).How do I calculate # of members who were inactive or not existing in the previous month, but active in the current month?Below is the sample code I used to get the count of active members in one month.select FROM [SnapshotCube]where ({[Status].[Status].&[Active]},{[Month].[Year Month Hierarchy].[Calendar Year].&[2015].&[2015Q1].&[201503]})
↧