![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there everyone I have a table in SQL that holds an opening balance. nd then holds the movements/posting for a time period. It does not give a closing balance. How would I go about doing this in Analysis Services. I don't want the balance as at the end of today but also for historical months/days. Any ides please as I'm desperate. |
#3
| |||
| |||
|
|
Hi there everyone I have a table in SQL that holds an opening balance. nd then holds the movements/posting for a time period. It does not give a closing balance. How would I go about doing this in Analysis Services. I don't want the balance as at the end of today but also for historical months/days. Any ides please as I'm desperate. |
#4
| |||
| |||
|
|
Hi there Thank you for the response. Yes, I have a time dimension. However, the YTD feature will not solve my problem. I am trying to build a Balance Sheet and for some stupid reason we have Sales and Credit Notes posted in the system for FUTURE dates. Meaning, that if I do a Balance Sheet for Feb 2005 and I use the YTD or MTD feature that it will pick up those future periods and I don't want to that to happen. It must only pick up anything dates going back up untill current date. Any ideas would be very welcome PLEASE as I am desperate, "Granville" wrote: Hi there everyone I have a table in SQL that holds an opening balance. nd then holds the movements/posting for a time period. It does not give a closing balance. How would I go about doing this in Analysis Services. I don't want the balance as at the end of today but also for historical months/days. Any ides please as I'm desperate. |
#5
| |||
| |||
|
| With Member [Measures].[BalanceYTD] as |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi Gran, If the data is not chaning often, it would be better to create three measures in fact table: opening_balance MTD YTD Using sprocs, calculate YTD properly (op_bal+sum(Fiscal year start MTD till current month MTD), and load it in YTD column. It has benefit of calculating YTD once and just reading in cube instead of calculating it dynamically every time. Also, the performance of the report would be boosted. Ajit Singh www.hostanalytics.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |