So I have a finance related DW (dimensional) and SSAS cube. Each transaction is one row.
In the cube, there's the usual calculated member such as Net = Gross - Tax
Supposedly in a highly simplified world, there are 4 types of transacitons
1) Coin - 1st payment
2) Coin - Renewal
3) Subscription - 1st payment
4) Subscription - Renewal
Each transaction there will be a typeID from 1-4
The typeID is already linked to a dimension, and the users have been happy.
Now the user wants to have a report that only shows type 1-3. So basically a new metric that's NET - SubscriptionRenewal
Obviously the user can hack it in Excel using named sets and stuff, but lets assume they don't want that. So I need to create a MDX calculation that automatically ignores value coming from type 4.
How do i write the MDX????
thanks