on 10-15-2015 2:04 PM
Hi,
I would like to know whether it is possible to control which key figure will be summed or not in and aggregation (depending a characteristic).
For example,
KUNNR PLANT MATNR KF1 KF2 KF3
=====================================
0000000001 1 mat1 4 7 45
0000000001 1 mat2 4 7 68
If I aggregate by KUNNR and PLANT in the query the result is the following:
KUNNR PLANT KF1 KF2 KF3
=====================================
0000000001 1 4 7 113
Can anybody help me?
Thanks in advance.
Regars.
Hi David,
Are the KF1 & KF2 defined with exception aggragation, please check. you can change the aggregation behavior of key figure with exception aggregation based on characteristic. Compare the three KFs aggregation.
Regards,
Vengal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I think I didn't explain correctly.
Changing the example:
KUNNR PLANT MATNR KF1 KF2 KF3
=====================================
0000000001 1 mat1 4 7 45
0000000001 1 mat2 4 7 68
0000000001 2 mat3 5 9 12
0000000001 2 mat6 5 9 8
0000000001 2 mat8 5 9 5
aggregating by KUNNR and PLANT (with subtotals and total)
KUNNR PLANT KF1 KF2 KF3
=====================================
0000000001 1 4 7 113 (SUBTOTAL 0000000001 + 1)
0000000001 2 5 9 25 (SUBTOTAL 0000000001 + 2)
9 16 138 (TOTAL)
I mean KF1 & KF2 keeps equals for the same KUNNR and PLANT. And KF3 behaves normaly.
Thanks.
Hi David,
Exception aggregation is enabled only for Formula/Calculated key figure .
Also, from your example, I am not seeing KF1 and KF2 are aggregating, are you talking about total result here?
aggregating by KUNNR and PLANT (with subtotals and total)
KUNNR PLANT KF1 KF2 KF3
=====================================
0000000001 1 4 7 113 (SUBTOTAL 0000000001 + 1)
0000000001 2 5 9 25 (SUBTOTAL 0000000001 + 2)
9 16 138 (TOTAL)
Hi Jyothi,
yes I'm talking about total result.
I used exception aggregation with two characteristics, because in addition to matnr I have another characteristic, and 'Minimum' and it doesn't work fine in the whole cases and I don't know why.
Is the Minimum the correct function to be used in this cases?
Thanks.
Hi David,
Exception aggregation will not work on direct key figures in Query level . You need to create a formula/ CKF to have the feature of exception aggregation.
Now for the Keyfigures KF1 & KF2, check in the backend in the Keyfigure level its having any aggregation property mentioned, If its summation then it should work in the Query level as Expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.