Exception aggregation 'Average of all values'

Hi,
What is Exception aggregation 'Average of all values' wrt a reference characteristic. an how do I use it in Bex?
-Simmi

hi,
it determines how the key figure is aggregated in the BEx in relation to the exception characteristic, in your case it's averaged for all values.
another case sample maybe you need to report stock, which should not accumulated, but the last value, then you can choose 'last value', with reference chacarteristic to certain time characteristic.
you may also use it for 'calculated key figure' in BEx to get average value.
http://help.sap.com/saphelp_nw04s/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/6f/56853c08c7aa11e10000000a11405a/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.htm

Similar Messages

  • Exception Aggregation (Average of all values 0)  -  Non cumulative KF

    Hi Experts,
    I am using the Exception Aggregation (Average of all values <> 0) on a Non Cumulative KF. Most of the times i am not getting the desired results but some times it gives me the desired result.
    my doubt is whether we can use  Exception Aggregation on Non cumulatives?????
    Thanks for any help
    boobal

    Hi,
    Non-cumulative valuesare those key figures that are measured in relation to a period in time; that is to say they cannot be meaningfully cumulated over time. Non-cumulative values are summarized over time using so-called exception aggregation.
    Example:stock quantities/-values, number of employees, account balances, etc.
    Please check this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d61b1e95-0501-0010-dfbe-a03970712ef1
    Hope this helps.
    Regards,
    Mona
    Edited by: Mona Kapur on Jan 17, 2008 10:45 AM

  • Exception Aggregation (Average) displaying incorrect values after EHP1 Upgr

    Hi All,
    Exception Aggregation (Average) displaying incorrect values after EHP1 Upgrade in our BW system
    We have recently upgraded the system to EHP1. After the upgrade some of the queries where we are using Exception Aggregation (Average) started giving the incorrect values.
    Eg. We are displaying three Key Figures KF1, KF2 and KF3 (=KF1 %A KF2) against Store Hierarchy. In KF3 we are using Exception Aggregation (Average) on a characteristic 0PLANT.
    There are 14 rows against 0PLANT and out of those 2 rows are blank for KF1, so for KF3. When it is calculating the average of these key figures its dividing the total value by 12 instead of 14 which is not correct in our case. Earlier it was dividing the total by 14.       
    So in this case 'Average' and "Average of all values <>0" are behaving the same way.
    Kindly provide some inputs on this.
    Best Regards,
    Sachin Verma
    +44 7506740018

    Hi,
    Thanks for viewing the thread. And happy to let you know that the issue was resolved.
    The solution was:
    Two formulas (local) were created, one including the formula variable with replacement path for ZD1, with exception aggregation on ZD1, and the other with formula variable with replacement path for ZD2, with exception aggregation on ZD2. Both these formulas are hidden.
    Another formula (local) was created for u2018time takenu2019 = formula with ZD1 u2013 formula with ZD2, with exception aggregation total on u2018ZDOCNOu2019.
    For the second instance, when one requires exception aggregation on records that has multiple values for keys, a nesting of formulas can be done displaying only the ones required.
    For e.g. a formula with exception aggregation on say characteristic u2018item no.u2019 can be hidden, and included in another formula for exception aggregation on characteristic u2018document no.u2019. This is a typical case where one can achieve calculation before aggregation for a calculated key figure, formula or a counter.
    Hope it might help someone, and saves time and effort for a similar issue posted.
    Also would like to keep this thread open for exploring better solutions.   
    Regards,
    Vijay

  • No correct exception when using "average of all values"

    Hello all,
    I have created a query with different duration days as key figures. The result row is displayed for the main characteristic and in the key figures I have select "Average of all values".
    The avergae value is calculated correctly in the result row at the end, but the exception is just take sums of the days into consideration, not the average values. Some values are red because there sum would be red, but just the avergae is displayed.
    Is there a way how I can apply exceptions also on avergae values?
    Th eBW release is 3.5.
    Any help would be great.
    Best regards,
    Stefan from Munich/Germany

    Instead of creating a Formula Key Figure, create a Calculated Key Figure .
    In that from the Enhance option select Exception Aggregation as Average of all values.
    Now use this Calculated Key figure in  your query and for creating exception.

  • Average of all values between (first above and last above) a threshold value.

    Currently I have a VI which I programmed a year or more ago, which grabs any value out of a data set that is above a threshold value. This is used for capturing the average of all values over a threshold when there is one peak of values that go above that threshold. However, when there are two or more peaks that go above this threshold, only the values above that value are averaged, so the end result is the average of two or more averages.
    What I need is for every value that occurs after the threshold is reached and before the threshold is dropped below for the last time. Picturing a set of data whose graph looks like the letter "M," for example with the threshold being halfway up the M, I want to show the average of (the first hump, plus the dip below the humps, plus the last hump) but what I'm getting now is the average of (the first hump, plus the last hump). What I get now cuts out the data between the two peaks.
    Any assistance would of course be appreciated.
    Solved!
    Go to Solution.
    Attachments:
    AveAboveThresholdAll.vi ‏15 KB

    Actually I think that Tims solution has a little difference to the stated problem that both limits should be above a threshold value. Since the second array is inverted the rounding should be not towards +Infinity but towards -Infinity in order to really only go up to the last element that is above the threshold. The code as made by Tim takes one sample more, which could or couldn't have any significance.
    Nevermind, I take that back.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • 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 ?
    Claudio

    Hi,
    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

  • Exception of average values

    Hi all
    I have a problem with an exception which is defined in BEx Analyser.
    The key figure is a valeue in percentage an defined as "Average of all Values <> 0". I have defined to show values >50% in green, but in the query some values (not all) which are >50% (e.g. 83%) are not marked in green, and some values are marked correct.
    In other queries, where the same key figure is used but as single values where "calculate result as..." is not defined, the exeption works correct. Just when using the average values it makes the problem.
    Any ideas?
    Regards
    Sabine

    I don't clearly understand the behaviour of BW.Have you tried Formula Collision? If Exception is treated as a formula internally then there may be a collision between Average and Exception.
    Formula collision may help  Average to take precedence and then it may force the Exception to get it applied.
    Sorry Sabine I don't have data to test and I never come across so don't think I am putting u in a loop.
    Regs
    Gopi.

  • 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.

  • BEx calculation for 'average sales order value'

    Hi all,
    Can someone tell me how to use BEx query function to compute the <b>'average sales order values' by month</b>? Thank you.
    J.

    Hi John,
         You've two characteristics in the rows, right? Calendar Month and Order Type.
    Try the option Calculate Result as Average of All Values and
    Calculate Single Value as Nothing Defined? See if this works.
    Or else in Modelling,
    In the Info Object Create/Change screen, you can specify an Exception Aggregation based on
    <b>Aggregate Reference Characteristic</b> Calendar Month.
    I think there's an option for Average Values in the <b>Exception Aggregation</b> tab.
    For more Information,
    http://help.sap.com/saphelp_nw04/helpdata/en/75/21054da1392649948e5b94e4fc4bce/content.htm
    Hope this helps.
    Regards
    Hari
    Message was edited by: Hari Krishnan K

  • 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

  • Creating a Formula on an Exception aggregation Total Column

    Hi SDN Community,
    I have the following scenario
    Column A    Column B     Column C
    value1                1                value1 divided by total of column B
    value2                1                value2 divided by total of column B
    value3                1                value3  divided by total of column B 
    Totals
    Value123       3
    I have created a CKF with only th value 1 in it and put in the column B, and placed after Aggregation on the properties of the CKF to derive the total result for column B successfully
    I now want to create in Column C a formula which divides the value by the result of the column B.
    I have tried using the formula
    Column A / SUMCT Column B
    where the SUMCT Column B value should be = 3
    Does anyone have any ideas for the above.
    Thank you.
    Simon

    Attached is the communication from SAP whom have assisted in resolving this particular part of the overall issue.  I hope it is useful to the community
    15.10.2007 - 10:29:27 CET    SAP    Reply 
    Dear customer,
    Thanks for your message.
    I logoned on your OBA system and checked this query.
    You set property "Calculate result as" to "Counting all values" for
    key figure "counter", so that you got 6 in result row of "counter".
    So I think this "Counting all values" setting is working.
    It seems that you want to get the average value by 3,628 / 6 for the
    formula that you described, I would rather suggest you to choose
    "Calculate result as" to "Average of all values" for this formula.
    Then you can get the desirable result. Or the result row will add
    all single values together by default.
    Hope above information helps you on this issue.
    Best Regards,
    Patricia Yang
    Support Consultant - Netweaver Business Intelligence
    SAP China
    16.10.2007 - 06:49:24 CET    SAP    Reply 
    Dear customer,
    Thanks for your update.
    As for the 3 decimal place issue, it is described in attached note
    959467. Would you please have a look at it? (especially point 3 and 4)
    As of BW 3.5 SP18(yours is SP19), the behavior is changed.
    And you will have at least 3 decimal places in your situation.
    Best Regards,
    Patricia Yang
    Support Consultant - Netweaver Business Intelligence
    SAP China
    Info to SAP 
    16.10.2007 - 12:28:46 CET    BW Basis Support    Info for SAP 
    Hi Patricia,
    Thank you for your reply,
    is my understanding correct, that SP20 or the implementation of the
    correction notes in OSS Note 995517 will remove the decimal places in
    the Results rows of the query i have developed which has set "average
    of all values" on the calculated key figure column.
    I have also raised the following OSS Message, to which i mistakenly
    left at Medium Priority but which should be set to High.
    Can you please pick up the following message for your continued
    diagnosis:
    Suppress Hierarchy nodes for the display hierarchy ( 0000866034/2007 )
    Thank you.
    Simon Haddad
    16.10.2007 - 07:46:40 CET    SAP    Reply 
    Dear customer,
    For the situation 4 of note 959467, we have note 995517 which can
    reverse this behavior back as desribed in note 959467 itself.
    However for situation 3, we cannot change this behavior at this moment.
    I am sorry that I didn't see your latter inquirement about the
    hiding hierarchy row issue before I replied to you last time.
    By your description, I am not sure why it doesn't work as you expect,
    however since we should only have one issue in one message as stated
    in note 50048, could you please create another message about this?
    Thanks for your cooperation.
    Best Regards,
    Patricia Yang
    Support Consultant - Netweaver Business Intelligence
    SAP China

  • Exception aggregation doesn't work correctly

    Hi,
    Here we have a problem about exception aggregation, we created two queries. One is based on the
    InfoCube, another is based on the DSO.
    Both queries have the same definiation. And the data of the InfoCube is from the DSO.
    In the query definition we created a formula and in this formula we used a exception aggregation.
    For example, we used count all value <> 0 and reference to city in exception aggregation to count
    all city which sales value above certain value.
    We got the different result from these two queries.
    The result in the DSO is what we neend.
    Can you tell me why I got the different result?
    Our system information is:
    SAP NetWeaver 2004s
    SAP_ABA     700     0009     SAPKA70009     Cross-Application Component
    SAP_BASIS     700     0009     SAPKB70009     SAP Basis Component
    PI_BASIS     2005_1_700     0009     SAPKIPYJ79     PI_BASIS 2005_1_700
    SAP_BW     700     0009     SAPKW70009     SAP NetWeaver BI 7.0
    BI_CONT     703     0000          -     Business Intelligence Content
    Thanks

    Jin,
    Ideally one way to find out if exception aggregation is working fine is to drill down based on the exception aggregation characteristic and see if the formula is being calculated right...
    Arun

  • Misuse of the exception aggregation

    Hi Expert
    I have a little particular need which I have of the evil to carry out. I explain you, you certainly already had it.
    In my cube I have collect, sold to, orders attached to contracts and a surface of contract like this:
                        Surface
    R1     Soldto1     Cmd1     Ctr1     10
    R1     Soldto1      Cmd2     Ctr1     10
    R1     Soldto1     Cmd3     Ctr1     10
    R1     Soldto2     Cmd1     Ctr2     20
    In my request, I would wish to have:
    R1     Soldto1     10
                         Soldto2     20
    R1 (next level aggregation) 30
    I use the exception aggregation on the contract (exception average by contract) but I don't succed to have the results expected.
    My query sends me the result below:
    R1     Soldto1     30
                         Soldto2     20
    R1 (next level aggregation) 50
    How then I to solve this problem? Please help
    Best regrads
    Eric

    Hi Eric,
    For your expected result, I think you should use exception aggregation Average with reference characteristic Cmd
    as it is the one which differs for the three 10 values.
    With this setting, R1 level should also be 30 as you expect. 
    If you use  "Ctr" as reference characteristic, then the three Cmds get aggregated (summation) for Ctr1, that's why you get 30
    like "R1 Soldto1 30".
    Hope this helps.
    Regards,
    Patricia

  • Exception aggregation in one CKF causing problem in Result row of other CKF

    Here is my scenario in 3.5x BW:
    I have a CKF A which has exception aggregation (to select maximum value) based on a reference characteristic..
    Now this CKF A is used in another CKF B and a third CKF C is being calculated based on CKF B. SInce I am using exception aggregation in CKF A, CKF B and C had to be set to be calculated 'after aggregation'.
    Formula for CKF C = 100*B/ D   (D is another constant CKF, with value 1 for each row).
    Now my requirement is that the result row of CKF C should be calculated using the same formula on result row of B and D. This was working when I was calculating A without exception aggregation. But now I need to use exception aggregation aswell as I want the result of C = 100 * Sum(B)/ Sum(D).
    I have tried the alternative of using a Formula selection (with formula collision - Result from this Formula)instead of CKF for calculating 'C', but didnot find any success in getting result row of C as per my requirement.
    Any suggestions in resolving the issue will be higly appreciated..
    Thanks
    Shikha

    you have created a calculated key figure A in your query, and in the properties of this calculated key figure you have defined the exception aggregation right?
    so you can create a second calculated key figure (say A') with the same definition as ckf A, but you don't put any exception aggregation in it. then you need to create a second calculated key figure (say B') to replace the calculated key figure B, and use ckf B' in this new ckf.
    when you use now the calculated key figure B' in the formula of ckf C, it should be correct as you use ckf A' as basis, which has no aggregation...
    quite straight forward, no?
    M.

  • Exception aggregation based on two characteristic

    Hi Guys
    i have enhanced the datasource  i.e 2lis_12_vcitm for sales order qty
    now i have to get the unique qty based on order no and item no to devide it to get a ratio
    how can i do the exception aggregation to take one value based on two characteristics that is order no and item no
    Regards
    Amiya

    hi 
    Exception aggregation based on 1 characteristics i know very well but my requirement is different i have to get unique data based on two characteristics i.e
    order    item   qty
    100      10      5
    100      20      3
    100      10      5
    100      10      5
    100      20      3
    200     10       15
    200     10       15
    now i want to get 5 for order 100 and item 10
    and 3 fro 100 and 20
    i think by exception aggregation its not possible is there another way?

Maybe you are looking for

  • Building Applications

    Hello, i am currently working in PHP/MYSQL/JAVASCRIPT.. I am interesting in Building some Cool Desktop Applications. What is the best way to get started? Software etc?? Thank you

  • How can I plot two sets of data points in 3d graph?

    I am trying to plot two sets of data points in 3d graph. I also need to make a set of data with one color and the other set with a different color. For example, I need to plot 10 (x,y,z) data points in 3d. Maybe 6 points need to be blue, and the othe

  • Some correct, some incorrect

    Dear Friends, I am trying to display japanese characters on browsers. I am using MySql and JSP. I am able to display japanese characters from database. But some katakana and kanji characters are not displayed correctly. Actually they are not stored c

  • More accurate weather widget?

    Can anyone recommend a more accurate weather widget than the default Apple one? I don't need a ton of information, just something which at least maybe divides the day into a.m. and p.m. (so that if you see a rain cloud you don't think it's going to r

  • Problem Printing an HTML Sprite

    Hi, In an AIR app with an HTML Control (Sprite) - I want to print the HTML. If the HTML content is to large for the sprite (i.e. there are scroll bars) then only the visible content is printed. Is it possible to ensure the entire HTML content is prin