KF aggregation/exception aggregation options

Hi
There is one KF that has defined as
1)aggregation option SUM ,
2) Exception aggregation option Last Value
3) aggregation Ref char 0CALDAY.
4)cumulative value radio button s option is on in Cumulative/Noncumulative values option.
These options can be found in KF declaration in the second Tab.
I understand that from the query point of the KF will display last value/given calday. What is the use of aggregation option SUM (option 1 above)? can you give me one example please.
also one more question what is the use of Ncum Value with Ncum Value change?
Thanks
Vennela

Hi,
Here you have specified that aggregation type should be 'last value' for reference characteristic CALDAY. For all other characteristics, it shoule be SUM. That mean if calday is part of query, then KF will have Last value for CALDAY. If calday is not part of query, then it will be summation.
For ex, lets assume that we have calday, cost center as characteristics and head count as keyfigure. When you have both calday and cost center in your query, then it is going to display last value of KF head count in the result, which is practical.
if you have only cost center in your query, then head count value will be sum for that particular cost center. We might have many sales offices in a cost center, so head count will get aggregated for all sales offices under cost center.
Hope this clarifies.
Best Regards,
Rajani

Similar Messages

  • Reporting-Keyfigure Properties-Enhance -Aggregation-Exception aggregation T

    Hi All,
    What is the use of Keyfigure properties-enhance-aggregarion-exception aggregation use in Bex reporting.
    I can see values like Exception if more than one record occurs,Exception if only one record occurs,Counting values and so on.
    Can any give me clear example please.
    if you have any documents please send to [email protected]
    Thanks

    Hi.
    I take it you have read through the SAP Help documents for this? They include examples, generally I find it pretty helpful when you have a question as specific as yours... here's the link for the area you are looking at.
    http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm
    Patrick

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

  • Exceptional Aggregation Option at Query Level in BW 3.5 Query Designer

    Hi all,
    I want to use Exceptional aggregation with reference char 0CALDAY,on Formula keyfigure in the Query designer(BW3.5).
    But I am not getting that option when I went into Properties of that Keyfigure.So please Suggest  me where I will Find that Exceptional Aggregation option & Ref.Char at the Query level.
    Thanks,
    Kiran Manyam

    Hi
    In the Key Figure Properties dialog box, choose Enhance >>. The Aggregation Behavior field is added to the dialog box.
    You can make settings for the aggregation of the calculated key figure and the time that the calculated key figure is calculated here. Depending on the complexity of the formula, you can select various settings in the enhanced properties of the calculated key figure. The following types of calculated key figures with the corresponding formula complexity are available:
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/56853c08c7aa11e10000000a11405a/frameset.htm
    Hope it helps

  • Exception aggregation on Non-cumulative key figure

    Dear experts,
    I have a problem. We have an InfoCube in BW in which the Activity Journals are loaded every day. In this Activity Journals it is registered that a Material was listed (available) at a customer (value 0 or 1).
    We have a non-cumulative key figure MXW_LISTN with inflow (MXW_LISTI) and outflow (MXW_LISTO). In time this key figure receives +1 or -1 for a customer, material combination.
    I want to use MXW_LISTN in the query in a specific way. The key figure on itselve tells me how many listings there are. However, I want to know how many business partners there are with a listing.
    I was thinking about an exception aggregation on MXW_LISTN with reference characteristic 0BPARTNER and "Count <> 0". BW however refuses to do so and only lets me do simple aggregations such as AVG, MIN, MAX etc.
    Can you think with me and come with an proper solution to count the number of business partners with a listing?
    Your help is very much appreciated and rewarded!
    Best regards, Hans de Klein

    Maybe a solution with virtual key figures is an option?
    Please help me out!
    Best regards, Hans de Klein

  • Problem in Nested Exception Aggregation

    Hi Experts,
    Can you please give me an idea of how & Steps to do the nested exception aggregation based on the 3 to 4 characteristic and agregate the volume for 1 key figure,
    Thanks Regards
    Dolly.

    Hi AL,
    here is my requirement what i have been asked to get this output result.
    i have keyfigures KF1, KF2 and total KF.
    three characteristics dist,inch,load.
    dist-inch-load--KF1-KF2-Total KF                         
      5---A--010-0-----10=10                         
      5---A--120-20----20+10=30                         
    10--B---050-0-----50                         
    12--C---160-60----60                         
    13--D---270-70----70                         
    14--E---080-0-----80                         
    15--E---120-20----20+80=100                         
    15--E---230-30----302080=130     
    KF1 is the initial volume coming from the file directily.based on this keyfigure i have to calculate KF2,Total KF.     
    In order to calcuate KF2 and Total KF i have some conditions.which are mentioned below;
    KF2---> if  load=0 then KF2=0 elseif load>0 then KF2=KF1 ;
    Total KF--->if load=0 then Total KF=KF2KF1 elseif load>0 then KF2=KF2KF1
    How to achieve this dynamic summation.Do i have to do nested exception aggregation based on the above three characteristics. what would be the open options.please do help me.

  • Exceptional aggregation on Non *** KF - Aggregation issue in the Query

    Hi Gurus,
    Can anyone tell me a solution for the below scenario. I am using BW 3.5 front end.
    I have a non cumulative KF coming from my Stock cube and Pricing KF coming from my
    Pricing Cube.(Both the cubes are in Multiprovider and my Query is on top of it).
    I want to multiply both the KF's to get WSL Value CKF but my query is not at the material level
    it is at the Plant level.
    So it is behaving like this: for Eg: ( Remember my Qty is Non-*** KF)
                   QTY  PRC
    P1  M1      10     50
    P1  M2       0     25
    P1  M3      5      20
    My WSL val should be 600 but it is giving me 15 * 95 which is way too high.
    I have tried out all options of storing the QTY and PRC in two separate CKF and setting the aggregation
    as before aggregation and then multiplying them but it din't work.
    I also tried to use Exceptional Aggregation but we don't have option of  ' TOTAL' as we have in BI 7.0
    front end here.
    So any other ideas guys. Any responses would be appreciated.
    Thanks
    Jay.

    I dont think you are able to solve this issue on the query level
    This type of calculation should be done before agregation and this feature doesnt exist in BI 7.0 any longer. Any kind of exceptional aggregation wont help here
    It should be be done either through virtual KF (see below )  or use stock snapshot approach
    Key figure QTY*PRC should be virtual key figure. In this case U just need to one cbe (stock quantity) and pick up PRC on the query run time
    QTY PRC
    P1 M1 10 50
    P1 M2 0 25
    P1 M3 5 20

  • Exception Aggregation or Avg Inventory

    Hi,
    While I am doing Inventory Development, got some issues in reporting. Below is my reporting info.
    Chars in rowsr:  CompCode, Sector(Nav attribute to plan), Calmonth.
    1. We get Closing Inventory in runtime ( 0valstockval )
    2. Turnover (Just a KF)
    3. Avg Inventory is a moving avg of Closing Inventory
    4. Ratio = Turnover / Avg Inventory.
    Problem in getting Moving avg in Sector Level. If I use moving avg option in Calculation tab, It is working till the end of the report not breaking at Sector level.  If I use exception aggregation, its not working and also that will calculate only Avg not a moving avg.
    So how to get avg inventory and Ratio values.
    If you give me solution in workbook also ..it ll be fine ..
    Thanks,
    _R

    Create one original query
    and another view of the original query with the navigation state for sector level.
    If you embed both in workbook, will it be OK?
    The roundabout is bit cumbersome. You need to go for table interface or macros.

  • BI 70 upgrade question - Exception Aggregation

    Hi ,
    In our upgrade test system we are getting exception aggregation warning "Brain 447 - Time of calculation 'Before Aggregation' is obsolete" .
    I know the location where we can change the option (  under "Enhnaced Properties" of the Calculated key figure ) from " Before Aggregation" to "After Aggregation" .
    Issue : The warning does not indicate which calculated key figure the setting has to be changed especially if it is used in multiple structures
    Question :
    1) Do we have to change this manually for each calculated key figure we get a warning ?
    2) Does anyone know the BW table which stores the "Enhanced properties" for the "Calculated key figure"  OR report which shows the enhanced properties settings. I know the other "RSZ* tables etc ..but could not find the settings for the enhanced properties.
    Thanks in advance .
    Hitesh

    1) Do we have to change this manually for each calculated key figure we get a warning ?
    Usually this is done manually.....
    2) Does anyone know the BW table which stores the "Enhanced properties" for the "Calculated key figure" OR report which shows the enhanced properties settings. I know the other "RSZ* tables etc ..but could not find the settings for the enhanced properties.
    You can check the RSZCOMPDIR table to see if you can get this information - this table has details of all the query elements...

  • Zero-Elimination And Exception Aggregation

    Hi experts,
    I'd like to compress a cube with the option of zero-elimination. Online help says: "Zero-elimination is only allowed for InfoCubes that contain key figures with aggregation behavior u2018SUMu2019 exclusively." (http://help.sap.com/saphelp_nw70/helpdata/en/ca/aa6437e7a4080ee10000009b38f842/frameset.htm)
    The key figures of the cube I like to compress all have aggregation = SUM but some of the key figures have exception aggregation <> SUM. Will the data of a cube still be fine after that compression?
    Thank you for your ideas!
    Volker

    Dear Andrei Bushkevich and Swapnil Dharia,
    thank you for your response! In my question there is a double ** wich originally stands for the sign of "NOT EQUAL".
    So the sentence is:
    "The key figures of the cube I like to compress all have aggregation = SUM but some of the key figures have exception aggregation NOT EQUAL SUM."
    @Andrei Bushkevich
    No that I've corrected the text - are you still sure that I can do the compression with zero-elimination?
    Best Regards,
    Volker

  • Exception aggregation

    Hello all,
    I have a problem with my query, i don't want to aggregate on a characteristic, i've tested many options by creating a formula with my characteritic and tried with several possibilities on exception aggregation but none is working.
    If someone can help me.
    Thank you by advance.

    hello, here my report result:
    Division     Material     Qty mouvement        mouvement value     Coût matière standard lot     
    1000        HB9754      2                               250 EUR                     200EUR
    and i would like to obtain :
    Division     Material     Qty mouvement        mouvement value     Coût matière standard lot     
    1000        HB9754      1                              150 EUR                     100EUR
    1000        HB9754      1                              100 EUR                     100EUR
    If you have more questions don't hesitate.
    thanks by advance.

  • 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

  • Exception Aggregation -selection

    Hi
    I need to use Exception Aggregation option in a selection but it seems to be set to 'Use Standard Aggregation' and disabled for changes.
    I tried creating new selection to see if it works but its not.How can I use Exception Aggregation option here at selection level?
    More Info
    The Keyfigure on which this selection is to be based has following settings at infoobject definition level(in 'Aggregation' tab):
    Aggregation MAXIMUM
    Exception Aggregation NO AGGREGATION(X ,IF MORE THAN ONE RECORD OCCURS)
    Aggr.ref.char. 0CALDAY
    Thanks for your help.........

    Hi
    I made new formula and put my keyfigure in it and then choose 'Exception Aggregation'.But the problem is I am unable to create selection on this new formula.
    When you are trying to create selection,it only shows the characteristics and keyfigures in cube but not formulas created.
    Do you see any solution? or any other approach to solve the problem ?
    Regards.

  • Exception Aggregation on a Formula Variable?

    I need to create an exception aggregation on a formula variable, but the properties dialog box of the calculated key figure doesn't have the options of exception aggregation.
    Only field available is "Time of aggregation" and I don't want to use that because (1) it is not working properly and (2) it is obsolete functionality.
    Do you know how I can obtain exception aggregation on a CKF containing a formula variable?
    Thank you very much for your time.

    I believe you are using 3.x.
    Please mention the version of BW in the problem statement.
    If you dont want to use exception aggregation in the query the second option is setting this property in the backend for the keyfigure. But I believe that you are trying to set this for the CKF, so I dont see any other option to generate exception aggregation.
    I would like to comment on your reasons why you dont wnat to usee the exception aggregation.
    1. It is not working: If it not working, you should contact SAP for this. Exception aggregation is 20% heart of any query and it is very rarely used things in reporting.
    2. It is obsolete: I am not sure, if this is correct. There are many industries where you cannot built certain reports without exception aggregation. The simplest report of sales where you are asked to find the rate of the material from Total Sale and Quantity at aggregation level can not be created without exception aggregation. So this option is and will never obsolete.
    Please try using before aggregation.
    - Danny

  • Exception Aggregation on non-Time Characteristic

    Hey all,
    I am doing exception aggregation on the following scenario:
    Cube XYZ:
    Doc #; LI #; ALI #; Total Contract Value; Total Potential Value
    Doc1; 1; 1; 200,000; 200,000
    Doc1; 2; 1; 0; 15,000
    Doc1; 2; 2; 0; 15,000
    How I want this to work is as follows.  I want in the query, whenever the LI appears more than once (repeats), average the Total Contract Value and Total Potential Value.
    So let's say I run the query 1 against cube xyz with only Doc # in the Results Area and it pulls out those exact rows, I want it to display as follows:
    Doc #; Total Contract Value, Total Potential Value
    Doc1; 200,000; 215,000
    Would exception aggregation accomplish this?  I really need to have both LI # and ALI # in the cube because this keeps the integrity of another key figure that I have in the cube which I want to sum for each Doc #, LI #, ALI # combination, but for the other 2 key figures (Total Current Value, Total Potential Value), I want it to sum in all cases except when there are rows when the Doc # and LI # are alike, to average.
    Any help would be appreciated, by the way, Doc # is compounded into the LI # characteristic, but ALI # does not have Doc # and LI # compounded in it.  Let me know if I need to change my model for this...
    Thanks in advance,
    Angel Henriquez

    Maybe a solution with virtual key figures is an option?
    Please help me out!
    Best regards, Hans de Klein

Maybe you are looking for

  • Why does my screen not work

    I just recently replaced my macbook A1181 screen and it will now not light up. I can see the back of the screen but it is black and you can't see enough to read it. It isnt the darken, lighten switch either. The screen was shattered and this being th

  • Inbound Delivery Index Table

    Hi,   I tried to retrieve the delivery number with vendor code(LIFNR) in VLKPA-KUNDE.  But, nothing is returned.  Is there any other index table that provide the same information. Regards, Kit

  • 14-n201tx wake up from sleep

    Hi All , Can anyone let me know how to wake up HP 14-n201tx laptop from sleep . Whenever I open it only power light , wireless and capslk light blinks and nothing else is happening . Perhaps i have already tried  the following process but laptop is n

  • Move Database from 11g SE to XE

    Good day! I need to move a 64-bit server is Oracle 11g Standart Edition for free Oracle XE 11g R2 32-bit. Please help, how do I do this? If I do a backup of the SE database with RMAN, and restor it to the XE, I get the error on startup when database

  • Itunes vs. cd player

    My cd player broke down (Denon 380, only two years, pathetic reliability) and I am contemplating the next move. I am thinking of making the imac my cd player, but I am worried about sound quality. I already have a Lacie hard drive that could be used.