Hi,
I'm experiencing trouble with the following requirement:
We have a fact-table containing data about cost-forecasts. This table includes columns for the project-name, for the date the forecast was made, the date the forecast is for and the estimated costs. This could be an example for this table:
projekt, date_of_forecast, date, costs
PR-A, 2007-06-01, 2007-07-01, 2000
PR-A, 2007-06-05, 2007-07-01, 3000
PR-A, 2007-06-10, 2007-07-01, 2500
PR-A, 2007-06-10, 2007-07-15, 2000
For instance, the last row says: We estimated on 2007-06-10 that the costs for Project PR-A will be 2000 at 2007-07-15.
The customer wants a cube wich allows an answer to the following question:
Wich cost did we expect for [Projekt] .... at [date] on [date_of_forecast]
So, it's not possible to just sum up all the measures, but I have to look up the last cost behind [date_of_forecast] and [date] ...
How to accomplish the using SQL Server 2005 STANDARD-EDITION
Do I need two Time-Dimensions or just one
Is there a way to create a Cube-Skript for this requirement
Thanks and best whishes
Manfred