Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Date calculation

 
   Database Help (Home) -> OLAP RSS
Next:  SSIS packages deployed by consultant  
Author Message
Qbee

External


Since: Dec 10, 2008
Posts: 2



(Msg. 1) Posted: Wed Dec 10, 2008 1:43 pm
Post subject: Date calculation
Archived from groups: microsoft>public>sqlserver>olap (more info?)

Hi All,

I have the following situation:
- date dim (on month level)
- plandate dim
- project dim
- projectstate dim
- amount measure

Each project has a plandate and at that date a certain amount in planstate x.
For example, project x has a plandate of 04-21-2008, a planstate of B and
amount 1000.

What I want is a calculated member which calculates the amount of the
plandate until the end of the year. So the produced results should be:


Project X
Plandate 04-21-2008
Planstate B

Date Calculation
01-2008
02-2008
03-2008
04-2008 1000
05-2008 1000
06-2008 1000
07-2008 1000
08-2008 1000
09-2008 1000
10-2008 1000
11-2008 1000
12-2008 1000

I know this should not be too difficult but
I cannot find the solution

Any ideas?

Q

 >> Stay informed about: Date calculation 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
MDX Calculation - I have a dimension with following structure State->City->NbrCity built of a table something like this: NbrCityId NbrCity City State 1 a b X 2 c b X 3 b c X 4 d...

MTD &YTD Calculation - I would like to calculate MTD & YTD for a particular measure in a cube. How do i do YTD & MTD calculation for a particular year. Please help me. Thanks in Advance. -- Regards, ArvindRavish

YTD Var % in calculation script - I have the following code for YTD in my calc script: // YTD Current ( [DATE].[Calendar DATE Calculations].[YTD Current], [DATE].[Month].[Month].Members ) = Aggregate( { ..

Multiple Calculated dimensions on member calculation - Hi there I have the following script that is giving me quite a headache. We have investments in Associate companies and I am currently only calculating our share of their profit. Thereafter, I also need to calculate the tax thereon. For the previous..

mdx calculation not recgonizing current member properly - Hello, I'm a relative newbie to MDX queries and I'm attempting to create a calculated member in my cube using the CurrentMember function. I need to use this function in an IIF statement to conditionally calculate the output of the calculation based o...
   Database Help (Home) -> OLAP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]