on 12-16-2015 3:09 PM
Hi Gurus,
I have created and loaded data into infocube as below:
Flat File Load :
Customer_ID Material_ID Quantity Price Total_Price
C001 M001 10 10 100
C001 M001 20 20 400
Then Loaded Data in Cube:
Customer_ID Material_ID Quantity Price Total_Price
C001 M001 30 30 500
But as per Quantity*Price = TotalPrice, File load data is correct.
But when we load it into cube, it has to be 30*30= 900 right?
How to achieve this in an info cube without Transformation Rule like QTY*PRICE for the TOTAL PRICE?
Regards,
Sreeni.
hi,
Using Rule Group at transformation with out code,, you can achive this result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreeni,
Aggregation behavior is dependent on the settings in the Key Figure (i.e. aggregation and exception aggregation). For Quantity and Total Price it is OK. However, for Price aggregation does not make sense.
I suggest to leave Key Figure Price out of the InfoCube if you do not need anything like "average price". You can derive the (average) price by a BEx formula: Total price divided by Quantity.
Best regards,
Sander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreeni,
By default data will aggregate in cube hence your able to see 500, if you want 900, you have to write formula in transformation or in BEx report.
Regards
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nanda,
I am OK with your reply.
But see the below case.
I have one sales order with
Customer_ID Material_ID Quantity Price
C001 M001 10 10
after delivering this SO to customer , we have created one more SO as below with new Price and QTY.
Customer_ID Material_ID Quantity Price
C001 M001 90 10
If i compress in cube i am going to get as below:
Customer_ID Material_ID Quantity Price
C001 M001 100 20
here price become 20, but it should not be 20 right.
how to handle these kind of things in info cube?
Regards,
Sreeni.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.