dbTalk Databases Forums  

Dependant calculated measures across time

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Dependant calculated measures across time in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ian Hopewell
 
Posts: n/a

Default Dependant calculated measures across time - 10-17-2003 , 02:54 AM






Hi - I am having a problem calculating an MRP formula which works in a
spreadsheet, but not in AS due to calculation orders. This is what I
am trying to solve:

Opening Stock (this period) = Opening Stock (last period) + Planned
Receipts (last period) + Actual Receipts (this period) - Forecast
(last period).

Now planned receipts includes "Opening Stock" in its calculation:

Planned Receipts (this period) = Opening Stock (this period) -
Forecast (this period)

I do check for the first time member and set values to zero to start
the calculation process.

I would really appreciate any help with this, it has been driving me
crazy!

Thanks Ian.

Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Dependant calculated measures across time - 10-18-2003 , 02:55 AM






Check out the Solve Order property (property of calc member).

tom @ the domain below
www.tomchester.net


"Ian Hopewell" <ianh12345 (AT) iafrica (DOT) com> wrote

Quote:
Hi - I am having a problem calculating an MRP formula which works in a
spreadsheet, but not in AS due to calculation orders. This is what I
am trying to solve:

Opening Stock (this period) = Opening Stock (last period) + Planned
Receipts (last period) + Actual Receipts (this period) - Forecast
(last period).

Now planned receipts includes "Opening Stock" in its calculation:

Planned Receipts (this period) = Opening Stock (this period) -
Forecast (this period)

I do check for the first time member and set values to zero to start
the calculation process.

I would really appreciate any help with this, it has been driving me
crazy!

Thanks Ian.



Reply With Quote
  #3  
Old   
dpuri
 
Posts: n/a

Default Re: Dependant calculated measures across time - 10-20-2003 , 12:22 AM



If both "Opening Stock" and "Planned Receipt" are on the same cube
dimension, then their relative Solve Order should not be an issue. Can
you provide some simple sample data, starting at the first time
member, and the MDX formulii?

- Deepak


ianh12345 (AT) iafrica (DOT) com (Ian Hopewell) wrote in message news:<15cd3617.0310162354.77fde51f (AT) posting (DOT) google.com>...
Quote:
Hi - I am having a problem calculating an MRP formula which works in a
spreadsheet, but not in AS due to calculation orders. This is what I
am trying to solve:

Opening Stock (this period) = Opening Stock (last period) + Planned
Receipts (last period) + Actual Receipts (this period) - Forecast
(last period).

Now planned receipts includes "Opening Stock" in its calculation:

Planned Receipts (this period) = Opening Stock (this period) -
Forecast (this period)

I do check for the first time member and set values to zero to start
the calculation process.

I would really appreciate any help with this, it has been driving me
crazy!

Thanks Ian.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.