Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Quaterly dates vs monthly dates on a rent schedule problem

$
0
0

Hello,

I have the following challenge.

We have a rent schedule with 4 columns ie. startdate, enddata, maturingprincipal and Total due column.

Normaly this rent schedule has a date grain MONTH. my dimDate hyarchie goes from Year->Month.

so basicly for each month we see a maturing principal which is fine. Startdate<->Datevalue of DimDate.

The challenge is as follows:

We have now a rent schedule with date grain Quarter. ie the from and end date per record is for example

record(1): 01/03/2013 up to incl 31/05/2013.

record(2): 01/06/2013 up to incl 31/08/2013.

because i point the dimdate to the startdate i only see this record in OLAP for 01/03/2013 and for 01/06/2013 which is as expected.

But my question is: Is there a way in OLAP by means of a calculated member to show the intermediate months like 01/04/2013, 01/05/2013 with a running sum for maturing principal.

In short i would like to breakdown the quarterly schedule in OLAP to a month grain level. Doing this in SQL is not working and is very time consuming (ie dividing the quarter to day level and roll up to month) so i was wondering if OLAP can support this.

Current situation:

2013Maturing PrincipalTotal Due
March635,225692,832
June635,420689,844
September 583,628636,803
December 589,555638,739

Desired situation:

2013Maturing PrincipalTotal Due
March635,225692,832
April 635,2250
May635,2250
June635,420689,844
July635,4200
August635,4200
September 583,628636,803
Oct583,6280
November583,6280
December 589,555638,739
(cont)

Any help is very much appreciated.

Thx.

Paul.



-Miracles are easy, the impossible takes a bit longer-


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>