on 07-03-2007 7:34 AM
I am running a report on Plant , where I have Sales value , Sales Qty and Stock Qty as Keye figures. I created one formula for Stock value
= Stock qty * ( Sales value / Sales qty ) . I defined "Calculate results as " - summation.
When I run this report for a plant , I get Stock value as 50.10 and when I drilldown by Material then I get the Overall result for Stock value as 39.24 .
39.24 is correct because it is sum of stock value for all materials in a plant . 50.10 is calculating along the columns. How do I acheive this?
I tried - created a Calculated KF , Before aggregtion , cumulate along the rows and formula collision - from this formula , but every time I get 50.10 only.
Pls advice
Message was edited by:
BW BW
I have sales value and sales qty as CKFs . Based on some calculation of Invoices - Returns - credit memos I derive the sales figures. Therefore I cannot have sales figures as plain key figures.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You are getting correct value at the materila level because cost are maintained at the material level so each cost gets multiplied with the correct qty. and aggregation happens after that giving the correct result.
For all the other characteristics it will first aggregate the cost and qty. respectively and then the multiplication will happen givin you an inflated result and wrong result.
One of the option is to use the replacement path as suggested or you can use the before aggregation option in the properties in the calculated key figures.
For this make sure you use only basic key figures in the calculations you cannot use other RKF's or CKF' when you are using before aggregation or otherwise before aggrgation willnot work.
you can use these CKF's in RKF's further if you want it will work fine.
with this you will get uniform in all the drill down.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil
I created a formula variable
With replacement path , Attribute value and Characteristic Ref Constant 1, From value and dim id as number.
First I created a CKF for Sales value and sales qty , Then created another CKF for stock value = total stock * sales value / sales qty * Formula variable.
Rest of all the properties are default .
Pls advice , what is going wrong . I am still getting the same results.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
<i>
First I created a CKF for Sales value and sales qty , Then created another CKF for stock value = total stock * sales value / sales qty * Formula variable.</i>
Why donot you go with Single Global CKF like :
total stock * sales value / sales qty * Formula variable.
With rgds,
Anil Kumar Sharma .P
Pls send it to sdnbw@yahoo.com. I tried that formula variable but there was no change.
Thanks
Message was edited by:
BW BW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It will work properly as given in other thread if the report is on a single cube. But here you are using MP.
<i>Stock value = (Stock qty * sales value / sales qty)*FV1.
Here FV! is a Formula varible with Replace ment path as the processing type and 0MATERIAL is the reference. And take attribute value = REference value(constant1) for this Variable.</i>
I will send a document ,if you give maild , which is How to Document, which explains similar concept.
and also see the note: 379832
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.
The default is "After aggregation" . Still I get 50.10
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While creating the CKF you need to take After aggregtion as one of the property, but not Before aggregation.
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.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.