1rowcount & case counter ( key figures)

Hello Experts,
         I have an object called 'case counter' in my ODS which is numeric 1 in the key figures category. But I have an extra field called '# of records' shown in my ODS under Key figures list. I think it is SAP defined '1ROWCOUNT'. I am not sure if I need to keep both case counter and # of records becoz both of them give the same result. My concern is we use the case counter in all our cubes and ods's and we are sceptical in not using it in the ODS. But please can you just explain what is best in my situation.
Thanks,
Anjali

Hi Anjali,
You do not need your counter even if you are loading data from the ODS to cube, because in the update rule of the cube's keyfigure, you can set a constant value of 1.
But there might be a scenario that neither you nor me can think of now that will need the counter. So you might as well keep it

Similar Messages

  • Counter Key Figure

    Hi
    I have created a counter key figure for my Cube and assigned constant 1 in the transformations.
    The thing is I am seeing Key figure value =2 in cube and not = 1 for each row .
    I checked the PSA and I see that 2 rows of each set of unique data . So I am not able to figure out why there are 2 rows for each unique data with only different Datarecord number.
    and How to define the counter Key Figure.
    Thanks in advance.

    Hi,
    It sounds like you defined your counter correctly, but it also sounds like you are getting doubled data coming in.  Look at your source and figure out why you are getting doubled data.
    On the converse, you can go into your query and create a global calculated key figure on the counter variable.  After you do this, in the properties section of the calculated key figure ... choose the enhance button at the bottom and choose summation for aggregation and exception aggregation of Count all values <> 0 for a characteristic that makes sense.
    Brian

  • BPMon: Table Entry Counter Key Figure

    Hi guys.
    When using the key figure "Table Entry Counter", if one of the fields in the table is a datestamp, is it possible to set a dynamic date field on this? E.g. would it be possible to only look at the last 2 weeks?
    Thanks,
    John

    Hi John,
    I think you got your answer quite some time ago via OSS message. But in order to benefit the community I also want to provide an answer here. There exists a Setup Guide for the Table Entry Counter under http://service.sap.com/bpm > Media Library > Technical Information in which it is explained how to realize dynamic dates.
    You can also follow the direct link http://service.sap.com/~sapdownload/011000358700000767792010E
    Best Regards
    Volker

  • Counting Key Figures above a threshold

    HI Experts
    I need to count a calculated key figure only when is above a threshold:
    DIV | CONTRACT | Calculated CONSUMPT
    01     101               40
    01     102               30
    01     103               50
    02     201               20
    02     202               40
    02     203               10
    The output should look somethinhg like
    DIV   |  BandWithConsumpt  | No. of Contracts
    01        Greater than 30           2
    02        Greater than 30           1
    The number of records is huge (>65536) so conditions is not an option as far as I know.
    I will appreciate your help
    Thanks,
    Carlos

    Hi ,
    See below help doc to count the occurence of a characteristics.
    [Count the occurrences of a characteristic relative to one or more other Characteristics|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af]
    and  Create a condition with the required threshold.
    Thanks
    Sundar

  • 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

  • Key Figures not showing in BEx Workbooks

    Hi,
    Recently we migrated the BW3.5 workbooks to BI7. After the migration and transportation of the workbooks to Quality system, in some of the workbooks the Key figures are not showing up and in some workbooks the key figures which are set as 'Hide" in the query are also showing up.
    Can anyone please suggest a way to fix this issue.
    Thanks in advance.
    Kalyan

    Hi,
    Thanks for your response.
    Even if there is no transaction data for the key figure, it should still show up in the report but as blank column, but in my case the key figure is not at all showing in the report.
    "Hide" setting for key figure is specific only to BEx and is done in the BEx query, which is being used by the Workbooks, so i do not think that it has anything to do with the InfoObject migration.
    Kalyan

  • Calculating count of orders using virtual key figures

    Hi All,
    In my report, i need a counter for the number of distinct orders.
    1ROWCOUNT didnt work for me as i want the count of distinct orders alone.
    I am planning to use virtual key figure for this..
    However, i donno how to code this in ZXRSRU02 and ZXRSRZZZ.
    Any help on this would be great!!
    Thanks!
    - Arun KK

    Shana,
    I dont understand your question.
    I'll give an eg.
    this is how the cube is.
    Order | Desc | Location
    101  |   'X'  | loc01
    101  |   'X'  | loc02
    102  |   'Y'  | loc01
    103  |   'Z'  | loc01
    102  |   'Y'  | loc02
    in the report, i need the o/p to  be.
    Order | Desc | count
    101  |   'X'  | 1
    102  |   'Y'  | 1
    103  |   'Z'  | 1
    i cant use 1rowcount as that counts each row and not the service orders.
    Hope this answers your question.
    Please let me know if there is a solution for this.
    Thanks!
    ~ Arun KK

  • Counter on Key figures

    Hello,
    I have a report which shows the late deliveries. The no. of days late comes as a key figure. I want a report where it shows the count of no. of deliveries which are late by <10 days or greater than 10 days.
    Basically its like a counter on the Keyfigure. So my report would look like
    Late by 1 - 10 days - 20
    Late by 11- 20 days - 30
    Any inputs would be highly appreciated and rewarded.
    thanks,
    KK

    Hi KK.
    This can be solved at query level. I.e. late by 1 - 10 days:
    ('KF'>0 AND 'KF'<=10)*1
    The expression 'KF'>0 will if true be 1 and if false 0.
    Hope this helps.
    BR
    Stefan

  • 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

  • Sort the Key Figure and put a count on it

    Hi Experts,
    I have a  situation where I have to sort the value of the Key Figures in ascending order and put a count on them.
    Kindly elaborate me a little on this.
    Thanks in advance,
    Kannan

    Hi Kannan,
        If you want to do this setting at the Query Designer level, then select the Properties section for the
    desired Key figure say K1.then select the "Calculations " tab.  Under the Local calculations for "Calculate Results as" select "Counter for all detailed values".Save the query.
    Open the query (say) at Bex Analyzer. From  the context menu for the key figure K1, select "Properties"-->then under Sorting tab select the required order.
    The options mentioned above, i.e  "calculations" and "Sort" is available on web too in the context menu for the key figure.
    The above mentioned setting wil be a display setting>You can modify it as per your requirement at Query Designer.
    NOTE:
    If your requirement is such that K1, should always display the counter , then while creation of the K1 itself , you can select the Exception Aggregation of Type "Counter(all values)". Then, the setting will be permanent.(design time)
    Hope the information helps!
    Best Regards,
    Akshata
    Edited by: Akshata Shenoy on Jun 2, 2009 12:25 PM
    Edited by: Akshata Shenoy on Jun 2, 2009 12:27 PM

  • BEx query: count unique key figure values

    Hi
    I need a little help with a query. I need to count the number of unique key figure values. Se example;
    Data:
    Employee1 - 2
    Employee2 - 3
    Employee3 - 2
    Employee4 - 1
    Employee5 - 2
    Employee6 - 1
    Employee7 - 2
    Wanted output:
    1 - 2
    2 - 4
    3 - 1
    What kind of options do I have?
    Thanks
    Mike

    I would create a new characterstic for the same key figure and placed in rows and count in columns.
    and second approach would be , create condition with customer exit and write the logic to count the unique values.
    This is just a direction to move forward with the assumption that you are good in using variables and wirting logic in ABAP.
    Thanks,
    Sukhi

  • How to filter Key Figure according of "Counter"

    I am on BI7 now, I need to set a filter in query, according the counter, means that there are 37 lines in the query, but user only want to show the buttom of 20%, means after sort according the key figure, only show the record from buttom, means number 37 record to 37*0.2 = 7.4, means only show 8 lines from buttom after sort, I can not find any condition fit this, can any one help?

    Hi,
    You have the option of selecting Top N hits in your query May be you can try something out there.
    Regards,
    Pramod

  • The table name or tcode to count the number of Dimensions and Key Figures

    Hi all,
    Do you have an idea about the table name or tcode to count the number of Dimensions and Key Figures of an Infocube WITHOUT installing the cube from Business Content?
    Thanks in adv.
    Ajay

    Hi,
    You can't do that because there's no active table in the system for the Business Content since it hasn't been installed yet...
    One thing you could do is go to the Business Content Tab, select "Infoproviders by InfoArea" on the left side, look for the Cube or DSO you want to check, right click on it and select "Display Description".
    On the window that opens you'll have a list of all InfoObjects and Key Figures. You also have the option to Display it as Start Schema, where you can see the Dimensions, etc.
    Hope this helps.
    Luis

  • Multiplying Cases by USD in Key Figure.  How to get rid of CS in the result

    Experts -
    I have a formula where I am multiplying a quantity by an amount.  Both have unit/currency attached to it.
    For example    :  Quantity is 5 CS   and Amount  is $2.00
    I have a formula  Total = Quantity * Amount
    Results are displaying like   $ 10.00 CS.  I need just $ 10.00 to display
    How can I divide the formula by CS  .. I have tried replacement path variable assigned value of 1  and unit of CS  but that doesnt seem to work.. (unless Im using wrong settings)
    Also adding a dummy key Figure = 1 CS for all records in backend objects and then using it to divide doesnt sound as the best solution
    Can you please advice?  Thanks in advance!

    Hi,
    Try this
    Total= Quantitity* NO DIM( Amount) or take a dummy keyfigure of amount with out curreency.
    Regards,
    Sai.

  • Key figure summation

    Hi All
    I searched SDN forums and could not find a solution for the same.
    I have added a keyfigure as display attribute in 0costcenter masterdata. The same is available as display attribute in headcount cube (0papa_c02) via 0mast_cctr. Now at the reporting level, the values for the key figure is not summing up at the node level for costcenter hierarchy as a normal functionality of display attribute. It works fine for normal key figures.
    So as a solution, I added this keyfigure in the headcount cube and populated the same via a routine from 0costcenter masterdata. The values are populating perfactly fine in the headcount cube. But the problem is that, as the headcount cube has multiple entries for the same costcenter, the values for the key figure is getting aggregated at the reporting level. I even tried using exception aggregation and non cumulative key figures to get the non aggregated value. But I am unable to solve this.
    Could you please guide me how can I acheive this. I know I can achieve this if I use an ods. But this will affect the whole design. Plaese suggest.
    Cheers
    Chanda

    Hi Jacob
    I created one calculated key figure which contains the real key figure from the cube. When I press Ok, it will get saved. The only thing I could see is the properties of the calculated key figure/ key figure. Where I can see count all values <>0 in calculate result as.
    I could not find below at the query level. Are you talking about the aggregation tab in the infoobject maintainance in BW side?
    "on the next screen in bottom left corner, there is a button (I think it will say "Expand" if you log on in english). Click that one and now you get to set the aggregation behaviour. Set the exception aggregation to 'count all values 0' and the reference char to the costcenter (I think your mst. costcenter in this case)"
    Cheers
    Chanda

Maybe you are looking for

  • PLEASE HELP!!! GARAGEBAND CRASHES WHEN TRYING TO OPEN OR CREATE A PROJECT!!!!!!

    When I try to open or create a project in garageband 11 (running osx 10.9) it just crashes. The spinning wheel just stays there.

  • Can i use adobe creative cloud if i resides in Pakistan?

    Hey guys i am interested in buyging the Adobe cc but i am confused cuz Pakistan is not its support list, so is there any way i can use it? And secondly i wanna ask that if someone on behalf purchases my required softwares like photoshop cc from Oman

  • [SOLVED] KMS Trouble after System Update

    This is a Lenovo x130e laptop with an AMD E-450 APU and Radeon HD 6320 graphics. When booting, the screen freezes on this: http://i.imgur.com/SnLA0dv.jpg KMS works just fine (and the system will boot normally) when booting from the 2013.03.01 install

  • Actual price calculation

    Hi Experts, We have this scenario: 1. Activity prices are entered manually in KP26.(Activity type indicator=5) 2. At the time of CO11N only POWER activity will confirm. 3. Executing CPTA for overhead allocation. 4. KSS2 for power activity 5. No split

  • Skype won't send or recieve calls

    When I send a call to someone on skype, they just dont get it. I get calls, but i cant actually be in them, i can just send sms messages. The buffering symbol appears on everyone... I'm on the latest version of skype, have uninstalled and reinstalled