dbTalk Databases Forums  

Essbase calc script

comp.databases.olap comp.databases.olap


Discuss Essbase calc script in the comp.databases.olap forum.



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

Default Essbase calc script - 05-05-2005 , 05:46 AM






I have a troulble setting a calc script: I should calculate the value
of revenue=quantity(2004)/((revenue(2003)/quantyty(2003))
Where revenue and quantity are account (dimension measures)
and 2003 2004 are children of the dimension scenario.
I made a new scenario, called MIX, and a calc like this

DATACOPY "Quantity"->"2004" TO "Quantity"->"MIX";
FIX(MIX)
"Revenue" = "Quantity" * (***);
ENDFIX

I don't know how to find the value (revenue(2003)/quantyty(2003) under
the FIX(MIX).
Anyone can help me?

Thnaks


Reply With Quote
  #2  
Old   
JC
 
Posts: n/a

Default Re: Essbase calc script - 05-07-2005 , 10:12 AM






Why don't you just do what you indicated in your pseudo-code:

FIX (MIX)
"Revenue" = "Quantity"->"2004" *
("Revenue"->"2003" / "Quantity"->"2003");
ENDFIX

Regards,
Jade


Gus79 wrote:
Quote:
I have a troulble setting a calc script: I should calculate the value
of revenue=quantity(2004)/((revenue(2003)/quantyty(2003))
Where revenue and quantity are account (dimension measures)
and 2003 2004 are children of the dimension scenario.
I made a new scenario, called MIX, and a calc like this

DATACOPY "Quantity"->"2004" TO "Quantity"->"MIX";
FIX(MIX)
"Revenue" = "Quantity" * (***);
ENDFIX

I don't know how to find the value (revenue(2003)/quantyty(2003) under
the FIX(MIX).
Anyone can help me?

Thnaks



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.