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

Similar Messages

  • Trouble with Non Cumulative Key Figures

    Hi all of you,
    I am working on Non Cumlative Key Figures, (NCKF). I have the data like this
    Sales rep S100 visited SHOP S1 on 1st Jan and 10th Aug, and transacted worth         100 and 500
    SHOP S2 on 1st Mar and 1st July and transacted worth 200 and 300
    SHOP S3 on 3rd Sept. and transacted worth 400
    Sales rep S200 visited SHOP S1 on 1st Jan and 1st Aug and transacted worth 100 and 300,
    visited SHOP S2 on 1st April and transacted worth 200     
    I created Non Cumulative Key Figure in the following manners:
    In modeling in InfoObjects I double clicked on my key figure BILLAMT and selected the Aggregation tab. I selected Counter (all values) for Exception aggregat. By default Agg. Referen. Char was 0calday. I then activated the info object and went to BEx. Here I took other IOs like Salesrep, Shop NUM and Dt. Of trans in rows and Bill amt in columns and executed the report. I am not getting the output how it should come for NON cumulative key figures.
    But when I right click the key figure Bill Amount in BEx in change query mode and select properties. I go to the option Calculate result as and selected the option as “Count all values”. And in another option Calculate Single Value as I selected the option “Count all values”. I said OK, saved the query and executed it. Now the output is similar to how it comes for a Non Cumulative Key Figure query but I am unable to understand the output.
    Now my doubt is where do we set the properties for Non Cumulative Key Figures? Is it in the Administrator Workbench under Modelling under InfoObjects?
    OR
    Is it in BEx change query mode by right clicking on the key figure and selecting properties?
    Please explain.
    Thank you
    TR.

    As for the setting for Non Cumulative key figures...the default setting is done in the Key Figure properties, where u can define the Exception Aggregation. This property is used as such in the query, but if suppose u are getting the normal aggregation in the query , what you could do is "Create The Key Figure as Global Calculated Key Figure in Bex" and go to properties...click on the Button for aggregation ..select the aggregation and define with respt to 0CALDAY ..here.
    Hope this helps.

  • Samples of non-cumulative key figure

    hi experts,
    can u give me samples about:
    1> in what scenario should i use the non-***.Value change to create a non-cumulative key figure?
    Characteristic            : HEADCOUNT
    Aggregation               : (here chose sum?)
    Exception Aggregation:(here chose sumation?)
    Agg.Reference Char   : (here chose a 0calday?)
    N-*** with N-*** Value Change
           Non-***.Value Change: (here what to insert?)
    2> in what scenario should i use the inflow/outflow to create a non-cumulative key figure?
    Characteristic            : HEADCOUNT
    Aggregation               : (here chose sum?)
    Exception Aggregation:(here chose sumation?)
    Agg.Reference Char   : (here chose a 0calday?)
    N-*** with In- and Out-flow
                               Inflow  : (here what to insert?)
                               Outflow: (here what to insert?)

    hI
    1> in what scenario should i use the non-***.Value change to create a non-cumulative key figure?
    Characteristic : HEADCOUNT
    Aggregation :  sum
    Exception Aggregation: sumation
    Agg.Reference Char :  0calday-----* U CAN GIVE 0CALMONTH too to view head count month wise.*
    N-*** with N-*** Value Change
    Non-***.Value Change: * If u are maintaining delta value ie if no. of employees joined is 10 and resigned is 6, then delta value is 10-8=2*
    in this situation use this type.
    2> in what scenario should i use the inflow/outflow to create a non-cumulative key figure?
    Characteristic : HEADCOUNT
    Aggregation : sum
    Exception Aggregation: sumation
    Agg.Reference Char :  0calday
    N-*** with In- and Out-flow
    Inflow : *Inoobject which maintains no of employess joined *
    Outflow: *Inoobject which maintains no of employess resigned. *

  • Cumulative key figure and non cumulative key figure

    Hi BW Expertz
    Could any one give me the clarification about cumulative and non cumulative key figures .Why we go for cumulative key figure and non cumulative key figure.If any docs could u just mail to the following [email protected]
    Thanx In advance
    Best regards
    sankar prasad

    Cumulative values are those key figures (KF) that are cumulated using all characteristics, thus also using time.
    Ex: Sales revenue, Quantity....
    Non-cumulative values are those key figures that are measured in relation to a period in time; they cannot be meaningfully cumulated over time. Non-cumulative values are summarized over time using so called exception aggregation.
    Ex: Number of employees, Inventory, Stock prices, Account balance,.....
    AGGREGATION TAB
    Non cumulatives are evaluated by non-cummulative values. Non-cummulative values are special key figures that are different from other key figures (cummulative values) in data transfers and saving as well as in aggregational behaviour. These are measured in relation to a period in time; that is to say, they cannot be meaningfully cumulated over time. Non-cumulative value are summaraized over-time using exception aggregation.
    Non-cumulative values such as 'number of employess' are cumulated using characteristics such as 'cost center'. It does not make any sense, however, to cumulate the number of employees using different periods. The result at the end of any particular period would be the sum total of number of employees for each posting during the period. This would of course be wrong.
    Instead, the aggregation of the KF can be defined as exception aggregation wherein an additional references characteristics is utilized to tell BW which value to use during the period, in this case, 0CALMONTH is used, in the above example, to indicate that only the last value of 0HEADCOUNT, updated by costcenter, is to be taken for any calender year and month.
    Cummulative vs Non-Cumulatives
    The purpose of non-cumulatives is to optimize the data transfer in BW, the data retention and the database access. The data transfer from OLTP to BW is minimized and only the meaningful data is saved and processed.
    It is recommended that you use non-cumulative values for areas that dont change frequently such as warehouse stock or number of employees.
    Non-cumulatives are modeled in BW using a non-cumulative value with the fields belonging to it for storing the non-cumulative or for inflows or outflows.
    Non-cumulative values are stored with special KF that differ in terms of data transfers and aggregational behaviour.
    Features of NON-Cumulative Values Transfering and Saving Data:
    - NC values are mapped uisng one KF for NC changes or two KF for inflows and outflows.
    -NC are transferred in an initialization run and the change runs that follow (initialization can also be omitted here)
    - A non-cumulative value always has a time-related exception aggegation.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.htm
    with Example
    Re: Non-Cumulative keyfigure example
    Re: Types of non-cumulative keyfigures
    /community [original link is broken]
    /community [original link is broken]?forumID=131&threadID=29557&messageID=273049
    /community [original link is broken]?forumID=131&threadID=111914&messageID=1248243
    ****Assign Points If Useful*********

  • Count the number of business partners on a 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

    Would anything with virtual key figures be a solution? Please help me out!
    Best regards, Hans de Klein

  • Non Cumulative Key Figures Simple

    Please Help me with this.
    I have the measurement Amount "0meas_value" non cumulative key figure and
    aggregation properties Sum and Last value and other key figure is 0meas_chg
    cUMULATIVE KEY FIGURE. aggregation properties Sum and summation. Now my question if I map the field from R3 Datasource (MEASVALUE) to CUMULATIVE key figure 0meas_chg, will it me a mess??? , Since when i try to put "0meas_value" non cumulative key figure in infosource it gives the error that you cannot put the non cumulative keyfigure in infosource. Please tell how can i then map to non cumulative key figure.?? and if I do not map what will be the problem??
    <b>Technical name: 0MEAS_VALUE (Non Cumulative)</b>
    Use
    This key figure contains the measurement amount of a real estate object on a given key date. The key figure is used for analyzing changes to the real estate portfolio.
    and
    <b>Technical name: 0MEAS_CHG (Cumulative)</b>
    Use
    This key figure contains the change to a measurement on a given key date. The key figure is used for analyzing changes to the real estate portfolio.
    Technical Data
    Aggregation
    SUM
    Exception Aggregation
    SUMMATION
    Cumulative/Non-Cumulative Value
    Cumulative value
    Thanks
    Soniya

    This kind of issue is difficult to analyze.
    Basic approach would be:
    1. make sure your BIA revision is the latest.
    2. check Tcd: RSDDBIAMON2 and make sure there is no red light
    3. rebuild the BIA Index and try again.
    Regards,
    Patricia

  • Difference between cumulative and non-cumulative key figures

    Hi,
    What is the difference between cumulative and non-cumulative key figures and under what conditions they are used. What is snapshort and where it is used.

    Hi.............
    Basically the key figures are of two types cumulative and non cumulative.
    Cumulative are the normal one which you use always and they always bring the new values of the key figures in the delta that is if suppose A has value 10 and after change the new value is 20 then you will use cumulative key figures there, and your delta( new value) will bring 20.
    but suppose your key figures field only the change in the prior value that is in this case the delta in the key figure value will bring 10 (20-10- change of 10 )as new value in the key figure A then you will have to model it through the non cumulaitve key figures.
    Now
    1) Cumulative is for the first case that is if the key figure alwyas brings the new values of the key figure and not the change sin the key fiures value.
    2)NCum. value with NCUM value change:
    In this case ther is only one field which brings the changes for a particualr key figure and you ahve to define that key figure as non cumulative.
    Ex: In case of stock only one filed brings both ingoing value and outgoing value so 10 ,-4,100,-34.....
    In this case you will this option and use the key figure here in the space provided.
    3) In this case you haev two separate key figures one for the inflow of stocks and one for the outflow of the stocks.
    you use one key figure for the inflow and one key figure for the outflow.
    The main key figure autiomatically takes care of the logic and gives the correct output upon the summation
    net value of stocks( inflow- outflow).
    Also do remember in this case the key figure for inflow and out flow are the basic key figures that is cumulative key figures.
    A non-cumulative is a non-aggregating key figure on the level of one or more objects that is always displayed in relation to time. Examples of non-cumulatives include headcount, account balance and material inventory. here the aggregation of key figure is based on the another info object
    There are two different ways to define non-cumulative key figures:
    • Non-cumulative key figure with non-cumulative changes:
    Before you can define the non-cumulative key figure, an additional cumulative key figure containing the non-cumulative change must exist as an InfoObject.
    • Non-cumulative key figure with inflows and outflows
    There has to be two additional cumulative key figures as InfoObjects for non-cumulative key figures - one for inflows and one for outflows. The cumulative key figures have to have the same technical properties as the non-cumulative key figure, and the aggregation and exception aggregation have to be SUM.
    Features of non-cummulative key figures
    A non-aggregating key Figure.
    Records are not summarized for Reporting
    Exception Aggregation is being applied on these key figures on the level of one or more info objects usually with time .
    Examples: Head Count, Account balance, Material stock
    consider simple senario
    Date Net Stock Quantity Sales Revenue
    01.02.2005 40 1000
    02.02.2005 50 2000
    03.02.2005 25 3000
    this is the query output if stock quantity has treated as cummulative and non-cummulative key figures
    if stock quantity taken as a cummulative key figure
    Date NET STOCK QUANTITY SALES REVENUE
    01.02.2005 30 1000
    02.02.2005 50 2000
    03.02.2005 20 3000
    RESULT 100 6000
    in the above result the key figure has aggregated to the total value that wont give sense to the net stock quantity
    if stock quantity taken as non-cummulative key figure
    Date Net Stock Quantity (LAST) Sales Revenue
    01.02.2005 30 1000
    02.02.2005 50 2000
    03.02.2005 20 3000
    RESULT 20 6000
    Hope this helps you..............
    Regards,
    Debjani................
    Edited by: Debjani  Mukherjee on Sep 15, 2008 7:22 AM

  • Non Cumulative Key Figure help

    Hi All,
    I am in need of setting up a non-cumulative key figure in a cube.  When I load from my ODS everything is ok, however during a delta process, this field at times gets
    summarized when in fact it should be static or in an overwite mode.  Can someone provide some advice/comments on how I can set up my key figure field in a basic cube to be static yet be able to be used in a calculation for a query?  I do not want to apply any functionality such as aggregation, average etc. In R/3 LIS functionality, you basically set up a characteristic Key Figure, how can this be done in BW ?
    Best Regards,
    Dennis

    Dennis,
    Check if you ahve declared the KF properly and also check the query which you use ...
    Load data and then compare with the query at the lowest level of data in the ODS. Then you will know if the update rules are correct.
    Arun

  • Definition of Non cumulative Key figure and web template

    Hi all,
    Can anyone define a Non cumulative Key figure and a web template.
    Thanks in advance.

    A non-cumulative is a non-aggregating key figure on the level of one or more objects that is always displayed in relation to time.Examples of non-cumulatives include headcount, account balance and material inventory.If the non-cumulatives change infrequently, you should choose non-cumulative management with non-cumulative key figures.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    for webtemplates you can info in the following
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/b26a3b74a4fc31e10000000a114084/content.htm

  • Purpose of Non Cumulative key figures

    Whatu2019s the purpose of Non Cumulative key figures?

    Hi....
    There is an explanation of advantages and disadvantages of using non-cumulative key figures in "How to handle inventory management scenarios in BW" white paper:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/how%20to%20handle%20inventory%20management%20scenarios.pdf
    Also Check..........
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b8dfe6-fe1c-2a10-e8bd-c7acc921f366
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a6305e07211d2acb80000e829fbfe/frameset.htm
    Re: Non-Cumulative keyfigure example
    Hope this helps.....
    Regards,
    Debjani........
    Edited by: Debjani  Mukherjee on Oct 27, 2008 3:46 AM

  • Problem with Non-cumulative key figure.

    Hi all,
    I am facing the problem with the Non-cumulative Key Figure (Quantity). I have created and loaded data to the non-cumulative InfoCube. <b>This cube is defined by me to test the non-cumulative key figure.</b>
    <b>In BEx query the non-cumulative key figure and cumulative key figure (Value change) both display same values, i.e. non-cumulative key figure contains the same values which we have loaded for cumulative value change. Non-cumulative key figure is not calculated based on associated cumulative key figure.</b>
    I have done the following while defining the non-cumulative InfoCube:
    1. Created a non-cumulative key figure which is associated with a cumulative key figure (value change).
    2. Loaded data to non-cumulative InfoCube from flat file.
    3. Compressed data in non-cumulative InfoCube after the load.
    Note:
    1. Validity area is determined by the system based on the minimum and maximum date in data.
    2. Validity determining characteristic, 0CALDAY is the default characteristic selected by the system.
    Is there any other settings to be done?
    Please help me in resolving this issue.
    Thanks and regards
    Pruthvi R

    Being a non-cumulative KF, total stock is automatically takes care of that.
    Try putting all the restrictions which you have included for total receipts and total issues, for eg,  restrict Total Stock with the movement types used in Receipts as well as Issues.
    Check and revert.
    Regards
    Gajendra

  • Non-Cumulative Key figure with inflow & outflow

    I am using some non-cumulative key figure in our inventory cube, however, I could not find the non-cumulative field in E or F table of the cube?
    Is there a separate table to hold the reference unit. If so, what is the table name.
    Thanks.

    Hi,
    Go to t-code RSDV and enter the tech.name of your cube that has the non-***. key figure and you will see a validity table. This is only thing I know that will make you look at validity table.
    The unit for the Non-*** KF will be the same unit as its inflow and outlow parameters' unit.
    Thats my 2 cents on the matter.
    Reddy

  • Non cumulative key figure is not getting filled based on inflow and outflow

    hi,
    i have a non cumulative key figure which is having inflow and outflow.
    i have these three info objects in dso.
    as i know non *** key figure is calculated based on inflow and outflow.
    i am getting values for inflow and outflow so non *** should be calculated based on this values.
    <b>but the collumn is blank in the dso</b>
    in that non *** keyfigure i have added two info objects in inflow and outflow.
    is there any other setting i nedd to do?
    please sugest me.
    its urgent

    Hi Venkat,
    Have you followed the process right. First Filling the Initial Stocks and then Inflow and Out Flow and then Delta. If you follow the process correctly then you can able to view the Data in the Reporting Level.
    For Initial Stocks the Marker Should be set. For Inflow and Outflow the Marker should not be set.
    Hope This Helps,
    Regards,
    rik

  • Snapshot scenario or non cumulative key figure  in inventory management

    Hi
    We are currently using Inventory Management with non-cumulative key figures but we get very high performance problems due to so big number of lines in info cube.
    We are analyzing the other scenario with snapshot and I am asking if it would be very realistic to use it to satisfy our requirement: to be able to get inventory management at day level for about 2 000 000 combinations article-site and about 100  000 stock movement lines per day (we are retailer!).
    Is there somebody to give me advice about it?
    Tanks a lot
    Anne

    Being a non-cumulative KF, total stock is automatically takes care of that.
    Try putting all the restrictions which you have included for total receipts and total issues, for eg,  restrict Total Stock with the movement types used in Receipts as well as Issues.
    Check and revert.
    Regards
    Gajendra

  • Bad performance with non-cumulative key figures

    Hi All,
    I have a cube with 8 non cumulative key figures based on fiscper.
    I am not sure how the performance for reporting with non-cumulatives can be improved.
    Thanks
    Karen

    Performance of non cumulative cubes is dependant on the distance between the marker (date of the last compression) and the execution date.
    For actual stock, the more you compress the better it is.
    Regards,
    Fred

Maybe you are looking for

  • Owa_cookie.get('DIVEPORT_COOKIE');

    I am trying to bypass the login screen but know who is logged in. We have a deployment site in DI Diver which will launch a APEX application from a URL. The user logs into DI DIver and we can write a cookie out stating who is logged in. I want to all

  • Help with Date Functions in BPEL

    We are trying to use the following function : xp20:subtract-dayTimeDuration-from-dateTime(dateTime as string, duration as string) We tried duration as "01:00:00" or even a numeric value as a string like "600". This function however does not return an

  • Why will Firefox 4.0 not run on my PPC (non Intel) Mac (running Tiger OS)?

    I just downloaded the new 4.0 Firefox, and when I attempt to launch the program, I get the following message: "You cannot open the application "Firefox" because it is not supported on this architecture.

  • Server Admin - 10 Connections or Unlimited?

    I'm helping a client re-initialize a 10.4 G5 Server. They obviously need more than 10 concurrent connections, so I ask what type of license they have (max of 10 or unlimited). They have the registration code, but are not really sure if it's unlimited

  • Calculations for data collection

    Hi, In 'formula' type parameter for data collection, for the first time when operator enters values, the formula parameter does the calculation and give results. However, if later on the same data is edited, then the calculations donot take place and