on 10-23-2014 2:25 PM
Dear Friends,
My Bex query output looks like below..
Year EmpID TestDate No of Emp found Abormal
2012 A1 21/01/13 1
2012 A1 17/08/13 1
Total 2
I have created RKF - ZRKF_normal, in selection included zk_counter and restricted wid value "Abnormal" .
Now created Formula( No of Emp found Abnormal) in column and included this (RKF_Normal *1 ). In Exception aggr tab i selected summation with ref characteristics EMPID.
My total shud be 1 please guide me.
Thanks
Vasu
Hi Vijay,
Please try this. Create a CKF. Set 1 as formula and in the aggregation select count with reference characteristic EmpID. Then create a RKF add this CKF and add zk_counter with restriction "abnormal".
This will solve the issue.
Regards
Yasemin...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yasmeen,
Its not working, could you please explain in detail..
I created CKF1 and set 1 as formula. in Aggr tab u meant COUNT option or summation? i selected summation with ref char EMPID.
In RKF im unable to add both CKF1 and ZK_counter. I tried both individualy but its not working...
Thanks
Hi Vijay,
You should select the option "counter for all detailed values that are not zero, null..." Then in the RKF you will add this CKF instead of ZK_Counter (I just misread the characteristic name in your post) and also ad the wid value with the restriction as "abnormal". Hope this helps...
Regards
Yasemin...
Hi,
Trying to answer this question in my own way
From the data you have supplied above,
Exception Aggregation should work if you take reference characteristic as Test date as it is unique and generating new data record rows.
1. First step in the keyfigure structre drag the keyfigure for which you want Exception Aggregation
2. Next in the keyfigure structure create a formula. and include the keyfigure.
3. Go to exception aggregation of this formula and click average as exception aggregation and use reference characteristic as test date.
So as you have given avarage for the values being same 1 in both the data record rows,
you will get 1 in the report output.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
create the new slection - count with abnormal.-> select the object and resctirct the only abnormal.
again create the new formula -> put the new seleciton kf in side the new formula.
hit the aggregation tab -> select the summation/total -> reference char -> EMP ID -> save it and run the query in RSRT or BEx analyzer.
Thanks,
Phani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.