on 2007 May 17 10:03 AM
Hello All,
I have to create start routine.
In that i need to calculate addition of 1 keyfigure in cube.....and devide it by other key-figure in cube.
Please tell me ,how to start .
Thanks....
Hi,
this looks like an update routine on your key figure instead of a start routine.
Please describe your issue with details...
Olivier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did it with "cell defination".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to do the calculation on one or more than one KF and want to assign the value to another KF , then it is better to use Start routine in update rules.
Here the code will be very simple. You need loop into DATA_PACKAGE and need to code simple instructions.
You may get sample code if you search with <i>DATA_PACKAGE</i> .
With rgds,
Anil Kumar Sharma .P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
preeti,
i would recommend doing that calculation in the query designer. storing granular information and summarized information on the same record can be very challenging. in your case, the summation of KF2 can change as more records are added. this is why is should be calculated at runtime instead of load time.
in short, let the OLAP engine do all the complex logic for you.
Hi John,
Its not so easy....I have tried with SUMCT function but it gives addition of keyfigure at report level.....
I want addition of all customers ....whether they are present in report output or not..
Now i am trying it with " Define Cells "...
if anybody has suggestions ....they are welcome...
of course ...points will be awarded....
Thanks.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.