![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, We recently started implementing some cubes for our retailing operations using Analysis Services 2000. We created an accounts cube with financial period (time) and accounts (parent-child) dimensions, with Credit Amount and Debit Amount as measures. Our requirement is to have account balances shown as calculated members at the end of each financial period. While this can be done using a simple calculation like Debit Amount minus Credit Amount, while drilling down into months that may not give us the exact closing balance as per each month, but instead would give us only the difference between debit and credit. I thought it would be great if I am able to write an MDX expression that allows me to create a calculated member 'Closing Balance' that does a calculation like (Debit-Credit)+Closing Balance of last financial period member (If I am viewing June data in my cube browser, then it should give me the sum of debit-credit with the Closing Balance of May). I know this sounds like an iterative calculation, and I am not sure if it is the right approach. Can anyone help me on this? I would be very grateful. Thadeus Anand. |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |