Exception Aggregation for RKF
Hi Experts,
Is there a way to set Exception aggregation for a restricted key figure?
Thanks
GMS
Hi Prasad,
A restricted key figure is a normal key figure, so u can set the exception aggregation in the Bex Options in the Key figure properties.
Thanks,
Krish
Similar Messages
-
Exception aggregation for info object
Hi all,
I have problem using exception aggregation for info object (zabarb) :
The data :
wbs element zabarb
1 100
1 100
In query i want to show the data wbs element: 1; zarbarb:100
But in fact i got in query wbs element 1; zabarb :200
I've tried to change info object exception aggregation : average all value with reference char. wbs_element, but still the result in query is 200.
I hope someone can help me.
Thanks.Hi,
Make these Changes to the Info Object
Aggregation--MAximum
Exception Agg-Summation
Agg Ref Char- wbs_element
Thry this..........
Rgds
SVU -
Exception aggregation for calculated key figure
Is it possible to have exception aggregation for calculated key figure in BW 3.5? As per Note 1151857, it is possible, however this note applies to BI 7.0.
As per note 152638, it is possible in older version only simple ckfs like 'CKF = Base key figure'.
Is there any workaround to define exception aggregation for complex CKFs in BW 3.5?
My requirement is like this -
CKF = (sales quantity - forecast) %share (sales quantity).
Aggregation for CKF over time should be sum whereas, for all other characteristics calculation of CKF should be done after aggregation(normal scenario).
So, defining exception aggregation of CKF as 'Summation' over time should fulfil my requirement.
I can not use calculate result as 'summation' setting for CKF because of following design of report.
Report contains structure(characteristic)
Elements of structure are -
Last 3 months(April - June)
Last 3 months - 1 (Mar - May)
Last 3 months - 2 (Feb - Apr)
and so on...
When data is aggregated for each element of structure, base KFs will be aggregated and calculations will be done on that.
Changes in the backend are also not possible because, normal aggregation of CKF-alike in backend will be summation for all characteristics.
Is there any way in BW 3.5 to model such a scenario?
Thanks and Regards,
Anup KulkarniSum of individual values of CKFs is not same as the Calculation on 'sum of basic key figures(result of basic key figures)'. - Yes, you are right.
I need to aggregate CKF over time as SUM. However, calculation for result of all other characteristics should be based on results of basic key figures and not the 'Sum of individual values of CKF'. -
What i understood is that whenever the time char is in row, then result should be simple on the sum what ur getting but when other char are there then it should go for calculation based on the sum of key figure.
If im not wrong in getting ur point.
How can two differenct activites be perofrmed on same key figure depending on the characteristic .....!. For this u have to think some other possibility or let somebody else update the thread. -
What is the default exception aggregation for the NCKF IO STOCK
Hi all of you,
What is the default exception aggregation for the Non Cumulative Key Figure info object Stock?
When I am selecting Maximum, or minimum or Avereage (all values) its not selecting any of these values but only Average (weighted with the number of days) is getting selected.
Please explain.
Thank you.
TR.Hi Vinod,
Thank you for your reply.
I had selected Last value as exception aggregation and activated it. But again when I double click on the IO STock, in the aggregation tab besides exception aggregation I find the option Average (Weighted with the number of days).
Is it getting selected by default when I check the radio button Ncum. value with in- and out-flow?
Please explain.
Thank you.
TR. -
Exception Aggregation for a Calculated Key Figure in a Structure
Hello BI world,
Please can someone tell me if it is technically possible to use "exception aggregation (count) in a calculated key figure within a structure.
The definition of the structure is:
Rows: Characteristic (Selection) = Problem type (0CATCODE_FE) = "AF01"
Colums (Selections) Month 1 , Month 2, Month 3, etc .. Total
Details of the selection for each month
0CALMONTH = Variable (offset+1 for Month 2 , 3 etc)
1KYFNM = CKF
Calculated Key Figure (CKF) =
General Tab: = Key Figure "0CAUSE_CNT"
Aggregation Tab - Exception Aggregation = Count All Values
Ref Characteristic = Problem type (0CATCODE_FE)
Calculation After Aggregation = not ticked
Local Calculations Tab = All "Nothing Defined"
What I am trying to achieve is the "count" of "Category codes" for each month specified in the structure.
I have looked in the cube and there should be a "category Code" count of "9" for Jan 2008 for notifcation type AF01 but the query shows 0?
Thanks in advance, points will be awarded.
SteveStill not working? Not sure why? Have tried both answers and just not counting...
Is there any restrictions on using "exception aggregation" in a calculated key figures in a structure?
The structure is in the columns and it is a selection that includes the CKF with the exception aggregation plus a restriction on calendar month using a variable?
Any help greatly appreciated.
Thanks in advance.
Steve -
Exception aggregation for averaging
Hello,
I am having some issues understanding how to model key figures with exception aggregation.
For example: Lets say that I need to filter by age of employee per cost-center and calculate the average age of all employees belonging to each cost-center.
What is the appropriate way to model this in a report. Exception aggregation or variable? Is there any justification on which way to model this?
Any thoughts?
Regards to allIdeally model the same in the query because if you model the same at the Key figure level - you cannot change the same without deleting data. Also if you model the same at the query level you can change the aggregation behavior depending on requirements.
-
Constant Selections and Exception Aggregation
Hi,
Can You please tell me
1) what is constant selections?
2) what is Exception Aggregations?
Thanks and Regards.
Naresh.Hi,
example for the use of standard aggregation and exception aggregation for a key figure is a key figure for the non-cumulative value
with non-cumulative values such as warehouse stock, you want to total up the warehouse stock for various articles and warehouses (standard aggregation), but for the month you want to determine the ending inventory (LAST aggregation) (exception aggregation in regard to the time characteristic Calendar Month)
for more info go through the below link
http://help.sap.com/saphelp_nw04/helpdata/EN/d2/e0173f5ff48443e10000000a114084/content.htm
For constant selection go through the belwo link
http://help.sap.com/saphelp_nw70/helpdata/EN/46/91f0f090ea13e8e10000000a155369/content.htm
Regards,
Marasa. -
Exception Aggregation takes a lot of time
Hello, guys!
I'm having problems with exception aggregation for some of my key figures in BEX Query Designer.
Well, they are working properly (Summation and Counting), but it takes up to ten minutes for them to calculate, and this is not acceptable for both me and my client.
Without those Exception Aggregations, query runs in a seconds.
Do you know any way to avoid those problems? Maybe it is possible to do something on BW side?
I'd appreciate any advise on this.
Thank you in advance for your help,
Nik.Nikita,Exception aggregation definitely takes a toll on the performance.There might be a situation where it is aggregation huge number of records with the unique combination of reference characteristic.
You can either try to filter out the data as much as possible after analyzing the data in cube.
Also i can suggest to do a close health check up of your cube with the help of program
SAP_INFOCUBE_DESIGNS
Regards,
AL -
Scenarios for some of the Exception Aggregation
hello Experts,
Please explain some scenarios for the following Exception Aggregation:
1. Counter (value not equal to zero)
2. Counter (all values)
3. Average (value not equal to zero)
4. Average (weighted with no. of days)
5. Average (weighted with the number of workdays; factory calendar)
Thanks in advance.
Regards
Lavanya.Hi,
check this link
http://help.sap.com/saphelp_nw70/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/frameset.htm
hope this helps you
Best regards,
Ramesh. -
Exception Aggregation help in Bex !
Hi Experts
Iam creating a query with date calculations. I have the following calculations in my qry...
1 . Cycle Time : ( Doc Date - Quote sent date) ....I created two replacement path variables and use them in formula.
2 . Nr of Quotes : ( Count of all sales orders with Block L1 & L2) ...I created a CKF for counting the nr of docs then used that CKF in an RKF to filter by block.
3 . Avg Tender Time : ( Nr of Quotes / Doc date - Quote rec Dt) .........Created a formula same as 1 with Quote rec dt instead of Quote sent then created another formula to make 2/3.
Now when I execute the query Iam getting numbers but
Cycle Time I took Exception Aggregation as Counter for all detailed values and ref char as Doc Date....Its giving some nr as output...but my question is if I take doc date as Ref char how it gets the calculation from replacement
Does any one have worked on date calculations as the above situation / any one have any how to's which explaines how to find date calculations with exception aggregations?
Thanks in advance...fixed
-
FBL5 FIAR - exception aggregation - count customers with open items at key
Hello gurus,
I have read the information about counting all values in reference to a characteristic. I manage to count how many customers have a FIAR open item 'billing status' = Open in my FIAR cube.
Now I am asked to replicate transaction FBL5 of R3. This transaction will give you open items at a given key date by adding
the items with
A) Item status = 'O' and posting date <= key date
and the items with
B) Item status = 'C' and posting date < =key date and clearing date > key date.
I calculate the net value by creating 2 restricted key figures and then adding them in a CKF.
But for counting I have a problem. I can count how many customer make up the open items (case A)
and how many customers makeup items that where cleared between key date and today.(case B).
But I cannot sum the two numbers as there might be customers that are counted in both cases.
For example I have 4 customers that correspond to case A : 1000 1011, 1012 and 1014
And I have 3 customers that correspond to case B 1000 , 1011 and 1013
I would like to get 5 as the number of customers that verify either case A or case B (or both).
Is there a way to do this with the exception 'aggregation 'and 'count all values' property of CKF ?
ClaudioHi,
The logic given in the above post may be a bit confusing to you. Check out this explanation and try to understand what I mean.
Posting Date - PD
Key Date - KD
Clearing Date - CD
PD--KD--
CD
-O(Status)-C--O-----C
-5107-----8
Let me explain the above table.
Between PD & KD there are 5 count with status'O' and 10 counts with status 'C'.
Between KD & CD there are c counts with status 'O' & 8 counts with status 'C'.
This means 5 with status 'C' becomes 7 between KD & CD.
Similarly, 10 status with 'O' becomes 8.
The logic I am trying to say is..
If you don't want to get counts with status 'C'(repeated) as I understood) 7-5 = 2. Show this 2 as count for status 'C' between KD & CD.
So the table will become like this now.
PD--KD--
CD
-O(Status)-C--O-----C
-5102(7)---2(8).
In braces shown are the total with status 'O'/'C' for the dates.
I hope this will solve your problem.
Message was edited by: AVR - IGA -
How to find the value of date char used as exception aggregation reference
Hi BI Gurus,
On a BEx report I need to list three things by material:
1) the open (not yet delivered) Purchase Order quantities
2) the PO quantity to be delivered next and
3) the date that belongs to the next delivery
The model supports these data i.e. for each material I can list all open quantities by Purchase Order / Item / Schedule line and the scheduled delivery dates are also available as a characteristic.
Determining 1) is easy as the drilldown is fixed (materials only) the open quantities get summarized for all PO-s belonging to the materials.
To determine 2) I used a Calculated KF simply including KF 1) =Open PO Qty in the definition and setting Exception Aggregation (first value) with a reference char of the delivery date. This gives back the Open PO Quantity to be delivered first.
My question is about how to determine the 3rd value (actually this is not a KPI but a characteristic value). In other words, for each materials I would need to determine the first among all of the possible delivery date char values of the open PO Items / schedule lines. This is the date the quantity shown in the 2nd KPI will be delivered on.
Does anybody have an idea how to approach this issue?
Thanks for you help in advance,
AttilaHi Olivier,
Thanks for your suggestion. I got a bit closer with the replacement path formula variable and the CKF. I tried to apply the same logic of KPI 2) but for some reason it did not work. Actually, it delivers the right value but only when 0SCL_DELDAT (Scheduled delivery date) is in the drilldown But what I need is the first delivery date by Material only, and without this 0SCL_DELDAT drilldown.
Any other ideas?
Thanks and bye,
Attila -
How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?
Hi All,
We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.Hi,
Here you go..
1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
This step you get query reference sheet or column or query general UUID for next step.
4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
Hope this helps.
Please keep in mind, it might take more time depends on how many query elements you have in the system...
Comments added for better DB performance by: Arun Thangaraj -
Bex Exception Aggregation in 3.5 equivalent to 'TOTAL'
Hi All,
Can anyone help me in getting a functionality equivalent to exception aggregation 'TOTAL' in BW 3.5.
I have a requirement which can only be fixed using the exception aggregation 'TOTAL', my bad in my current client they dont have BI 7.0. So can anyone tell me what is the equivalent function of 'TOTAL' in BW 3.5.
Regards,
AnandI need to develop a report which will show Org unit & degree (education data) wise head count and annual salary.
As the education records for an employee will be more than one, the annual salary will be doubled or tripled in the DSO or cube.
If I do an average of annual salary based on employee the overall result goes wrong.
Say for example, empl 20045789 as three record with KF value 10,000, the result in the report I see as 30,000.
SAY in the backend
EMPLOYEE | Degree | Annual Salary
20045788 | A | 50,000
20045788 | B | 50,000
20045789 | A |10,000
20045789 | B |10,000
20045789 | C |10,000
In the query I get it as
Org Unit | Employee | Annual Salary | Average(Annual salary/ Number of employee)
100001 | 20045788 | 100,000 | 50,000
100001 | 20045789 | 30,000 | 10,000
overall result 130,000 | 26,000 (130,000/5)
The expected result is 50,000 + 10,000 = 60,000 / 2 = 30,000.
Pls provide me solution.
Regards,
Anand
Edited by: araj123 on Jun 3, 2011 3:45 AM
Edited by: araj123 on Jun 3, 2011 3:46 AM
Edited by: araj123 on Jun 3, 2011 3:47 AM
Edited by: araj123 on Jun 3, 2011 3:48 AM
Edited by: araj123 on Jun 3, 2011 3:50 AM
Edited by: araj123 on Jun 3, 2011 2:25 PM -
How to determine the "Last Value" in exception aggregation
Hi gurus,
I have a KeyFigure with an exception aggregation -Last value- by time.
I report on a multiprovider ("containing" a infocube and a realtime infocube with BPS-InputLayout). I can correct separate Items with this BPS-Layout. So, at the end I have 2 values for one item.
So, by these facts, my report shows the the last value for the specific KeyFigure, but I expected that both values (the value in the infocube and the correction via BPS)are sumed up.
As this is due to the exception aggregation not the case, I could "overwrite" the normal value in the infocube with the BPS.
But SAP determines the normal value in the Infocube as "Last Value", not the one in the correction cube, which is entered via BPS.
How does SAP determine the "last value" as I can´t see any date...
Thanks in advance!Thank you for your answer...
I got the soltion by myself.
I thought, Last Value means the last Value, depending on the time, but in my opinion the function last value should be called "Greatest Value".
All figures with the same value for the reference characteristc are aggregated anyway.
Maybe you are looking for
-
Adobe Acrobat XI installation fails when get Error 1935 "during installation of assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E} HRESULT: 0X8007054F
-
Accessing MacPro from iBook G4 ... ???
How can I connect my MacPro to my iBook G4, so I can access the MacPro from the iBook G4? I have the two computers connected with an Ethernet cable. My MacPro can access the iBook G4, but when I try to access the MacPro from the iBook G4, nothing. I
-
Hello, Configuration : --- 1 capture agent on a MAC MINI under MAC OS X 10.6.5 --- 1 PCP2 server on an XServe under MAC OS X 10.6.5 After 10 minutes capture, Podcast capture preview image freezed, but timer continued running. After checking capture a
-
Coolest movie you made in iMovie?
Evening all - I've just got in to using iMovie and wondered what cool videos you've all made in iMovie (and what tricks you used to make them)? ps here my blog on getting in to iMovie if you're looking to kill a couple of minutes http://bit.ly/loDWBx
-
whenever i try to upload pics to the internet I can't find them in finder, I usually end up having to drag them from iphoto and putting them on my desktop, just so I can locate them finder. There's got to be an easier way, but where are they?! Thanks