Key figure problem

Hi,
In EHS Module i am trying to give a report on accidents overview.In that the key figures are Number of accidents, number of persons involved with aggregation MAX and at exception level as SUM.but in reporting it is showing 0 my number of entries in all types of accidents are one(persons affected). I want to change the key faigure aggregation to sum. Or is there anyway of using exception aggregate in reporting.
Regards
Ravindra

HI Ravindra,
We can change the aggregation of a keyfigure to SUM in RSA1 and also can change while desinging query.
RSA1 select the keyfigure right click , change then under the aggregation tab choose "summation".
In the query definition after placing the key figure, selecte that keyfigure right click , click on properties then at "calculate result as"  choose "summation".
please let me know if it hepls u.
Kind Regards
N.Prasad Babu

Similar Messages

  • Update rule key figure problem

    Hello All,
    I am busy creating update rules for an InfoCube. I have defined the update type for the key figure as "addition", I have also selected the source key figure (Budget Volume APO PC) but get the message "Target unit and source unit for the key figure Budget Volume APO PC must be the same" and it gives a red status to the key figure. Please explain what I should do to rectify the problem?
    Thank you and kind regards,
    Keith

    Hello KeItH,
    how r u ?
    first analyze the InfoObject and then if it is not going to be added up for the result value then u can try selecting OVERWRITE option, but this will overwrite your old values and hold the latest one.
    Best Regards....
    Sankar Kumar

  • Selection on Global Calculated Key Figure problem

    Hi all,
    I've got a Calculated key figure, made up of 2 key figures and 2 restricted key figures, saved to a homogenous multiprovider (Customer Sales).  this works fine as is. 
    However, when you create a selection in BEx QD, that limits the CKF further by Distribution channel, and view the result, the result seems to be multiplied by a value to the effect of 2.8???
    If you view the CKF by itself its fine (though not limited to what it needs to be).
    As an example.
    Say sales for a distribution channel was 1 million dollars.  Sales overall was 2 million dollars.  If i drag in my CKF (and have NO characteristics), it comes up with 2 million dollars.
    If i limit it to 1 sales office, no issues, I get that sales office's value.  However, if i limit it to a distribution channel, i get roughly 2.8 million dollars.
    Any ideas?  I can't see the logic in this.  Perhaps someone knows of the issue/has seen a note or something regarding this, cos its got me scratchin my head?
    Cheers

    Hi Pierre,
    I appreciate the fast reply.  This thing is driving me nuts!
    Ok so when you refer to the CKF are you referring to the global CKF on the multiprovider or the CKF i have on the report that is restricted (basically a local RKF)?
    I've had a look through there and have found the calculation tab, but can't really say i've found "Calculate according to current formula".
    What i see are:
    a dropdown list headed "calculate results as..." (nothing defined)
    another dropdown list called "calculate Single Values as..."  (nothing defined)
    a tick box called cumulated (unticked)
    another tickbox called "also apply to results" (unticked)
    another dropdown listbox called "calculation direction" (default setting)
    Underneath all that is a tickbox called "use precalculated value" (unticked).
    is it something under all that that i need to change?
    Do i change the global CKF or the local RKF?
    Thanks for the assist.

  • Virtual key figure problem

    hi all,
    i have a virtual key figure that i have to populate data into....this query is off a infoset...the client wants to see the total number of unique records populated into the virtual kf.the user exit has to read records from sales document number and document number and populate the unique ones in th the vkf.say, if the vkf's name is zpop and the infoset is zi_pop, the two ods's that make up this infoset is zods_1 and zods_2....please can u write me an abap code that reads the records and populates only the tot number of unique records into that kf.
    thanks in advance

    hi
    Have you debugged after refreshing?
    Regards
    N Ganesh

  • Virtual key figures problem?

    Hi Gurus,
    what is Virtual key figures? at what scenerio you go for that.
    please guide me ASAP.
    In advance i appreciate you
    RK

    Hi
    Virtual key figures are used when you want to determine the value of a key figure at runtime , the key figure is not populated in the load process ie its value is not stored in the cube. The logic for populating the keyfigures is written in an SAP Exit RSR00002.
    Since the values are computed at run time, it affects the query performance if you have too many VKF or too many records in your cube.
    There is a how to guide on the steps for working with virual key figures/ characteristics.
    To give an example suppose you need an aging report where you want to show how many orders are delayed by 30 days , how many 30 to 60 days and so on based on todays date, So this number needs to change dynamically based on the date the report is run , you could use VKF in this scenario...There might be other ways of doing but just giving an example to explain the concept.

  • Problem in Calculated Key Figure in BEx 7.0

    Hi All,
    In Bex 7.0
    We have a requirement where we need to display a key figure which is having unit price of an Article. In our InfoProvider we have Article, Store and Date and the report is based on Article. As we have to display only the latest price we have created a RKF by putting a restrcition of the latest date in the date range on the the unit price key figure. But still unit price is getting aggregated over stores.
    For example if there are 10 stores and the unit price of an article is 5, then data displayed is 50 and not 5.
    We tried to create a Calculated Key Figure using the above RKF and an exception aggregation Average of all detailed value that are not zero, null or error on reference characteristic 0PLANT. Its working fine when the query is restricted to one or two Articles. But for all the articles it gives the following error messages.
    1. Error while reading data; navigation is possible.
    2. Error occurred during parallel processing of query 17; RC3
    3. Error executing physical plan: AttributeEngine: no 6952
    4. Error reading the data of infoprovider ZXMSC01$X
    5. Amount of data that is to be read from the BIA server is too large
    6. The following error 6952 occurred in BIA server
    7. Error executing physical plan: AttributeEngine: not enough memory;BwPopMerge pop1(setIsLastMerge(1)),in executor::Executor in cube: p03_zxmsc01
    Can anyone tell me the solution for the above error. Or if there is a workaround to our requirement.
    Regards,
    Sachin

    Hi,
    Could be a memory issue.
    One of your cube in on BIA which is causing the Problem.
    So executing the query in RSRT by selecting Do not use BIA index option.
    If the query is executed with out any issue then take the cube out of BIA and push it back.
    Hope it helps.
    Regards,
    Raghu
    P.S : Also please let us know if this query is live and it is an issue that you are facing after executing it properly for few days.
    Or this is a new query created and testing now and in the process got this error?
    Edited by: Raghu tej harish reddy on Sep 24, 2009 5:53 AM

  • Problem with Overwrite for Key Figures in ODS

    A bit of a long explanation, but the problem is not so complicated...
    We have an ODS containing contract line items.  Each line item has a key figure "Total Contract Target" that is marked with update type "overwrite".  We have modified the extractor that delivers data for this ODS so that the key figure is set to a value from the contract header.  Since we don't want the key figure to be duplicated if there are multiple line items on the contract, the user exit for the extractor modifies only the first line item delivered.
    For example, overall contract target value = 100.  Contract has 3 line items.  Contract target value for line item 1 is 100.  Target value for line item 2 and 3 is 0.
    This all works fine for initial loads, but there is a problem with the business content extractor for deltas.  Whenever a single change is made, it delivers three sets of  records.  Continuing the example, we would receive 9 records for the contract (3 sets of 3 line items).  Each of the three sets contains the same records.  Only the first set has the correct contract target value.  Since the ODS key figure is set to overwrite, our method of setting the total contract value in the first record doesn't work, because the extractor delivers duplicates so the duplicates overwrite the total with a 0.
    Would setting the key figure for total contract value to update type "additive" solve this? (I'm concerned that additions would be made if there were only a change to characteristics and not the key figure).  Thanks for your assistance.

    Since we ought to post solutions to problems we discover for people who search this forum...
    Solved this by modifying the customer exit for the extractor to set the key figure for the first contract line item encountered AND for all subsequent records with the same contract number / contract line item.  Since the key figure in the ODS is set to overwrite, this makes sure that the last record written doesn't overwrite the key figure with 0.

  • Currency translation problem for calculated key figure

    Hi All
    I have a problem with the currency translation for a calculated key figure.
    I have a requirement to show the MM consignment stock value in the specified currency from the selection screen.
    For consignment stock, there is no value maintained in the system. So for this we need to calculate the value as below
    Restricted key figure: RKFConsignment stock: Total stock with special stock indicator restriction "K"
    Calculated keyfigure: Consignment stock value = Nodim( RKFConsignment stock) * (Standard cost / price unit).
    Here, in the calculated keyfigure properties --> I have used a currency translation for the 0CALMONTH.
    The query has selection on the 0calmonth.
    But in the result the I am getting unexpected results.
    Do we have any inconsistencies in the currency translation on the formulas?
    Please help me on this.
    Regards
    S.R

    Hi All
    I have noticed something. I changed my query date selection to Calendar day - Keydate instead of calendar month.
    And I have changed the currency variable to fixed exchange rate "CHF", it is working fine.
    I think I have some problem with the currency translation variable.
    Could anyone of you please send me the currency translation variable for Calendar month with the below parameters
    exch rate  type :  M
    Time reference : 0CALMONTH
                               End of month
    Target currency for a variable : < var created on 0currency>
    For my report,  i need calendar month selection, currency selection.
    Please help me with your ideas.
    Thank you
    Regards
    S.R

  • Query problem with accumulated key figures

    Hi BI Gurus!
    I have a report problem that I hope you can help me with!
    In my report I have 2 key figures. One for accumulated revenue previous year (KF1) and one for accumulated revenue current year (KF2). Both key figures should be presented in a graph in monthly buckets.
    January figures from both the key figures shoule be presented in the same bucket. Therfore I can't use 0CALYEAR since we have the "year" information in there. Instead I'm using 0CALMONTH2 which is only two digits, 01 for January. That way I can map figures from both previous year and current year in the same bucket.
    I need the figures to be accumulated and this is what I have problem with. When I run the report today in February 2010 it looks like this:
    Month   KF1   KF2
    01        10     15
    02        10     20
    03        15    
    04        10    
    05        20    
    06        10    
    07        10    
    08        15    
    09        15    
    10        20    
    11        20    
    12        10    
    This is how I would like the report to look like:
    Month   KF1   KF2
    01        10     15
    02        20     35
    03        35    
    04        45    
    05        65    
    06        75    
    07        85    
    08        100    
    09        115    
    10        135    
    11        155    
    12        165
    I have tried to use the setting "accumulated" for the key figures but then I get this result:
    Month   KF1   KF2
    01        10     15
    02        20     35
    03        35     35
    04        45     35
    05        65     35
    06        75     35
    07        85     35
    08        100   35
    09        115   35
    10        135   35
    11        155   35
    12        165   35
    Since the KF2 is revenue for current year and I run the report in February I don't want any figures to be displayed in Mars...
    I have tried to restrict the key figures by 0CALMONTH2 and 0CALYEAR. The KF1 is havein a restriction to only show values for 0CALYEAR - 1 and an interval for 0CALMONTH2 from JAN - DEC.
    The KF2 is having a restriction to only show values in the interval "first month in year - current month" (in this example JAN - FEB) for 0CALMONTH2. And current year for 0CALYEAR.
    Despite my restrictions for KF2 the numpers repeats itself for every month...
    Any suggestion how I can resolve this?
    Best regards
    Anders Florin

    Hi Khaled and thank you for trying to help me!
    I agree with you and think the users should accept the report as it is. But they are claiming that top management will not accept this and they would really want this to be fixed the whay that they want. I have tried to push back on this and said that I'm not sure that it can be resoleved and that it could cost them a lot of money if I try.
    But I will try to resolve it for them if I have spare time in the end of the project. I have not promised them anything but it would really be nice if I could fix it.
    So when you say I need to use a structure and a calculated key figure. How should the calculated key figure and the structure be configured?
    If I use a structure in the rows I guess I can't use same object in calc.key.figure right? Like if I use 0CALMONTH2 in the structure I'm not able to restrict the key figure with the same object? If that is correct I also have a ZMONTH object, different story why I have that... , that I can use in the same way as 0CALMONTH2. Or is this only a problem when I use "local" formulas within the query and not using a "global" calculated key figure? Cause I have only used the "loacal" formula calculated key figure in this report....
    Br
    Anders

  • Retraction problem, key figure mapping

    Hello guys:
    I am using the retraction function to retract activity data from BPS to R/3.
    I have created the sender structure and now I am creating the mapping rules.
    For the characteristics, there is no problem, but for the key figures, if I input a field name in the Sender FLd column, then I must enter a value in the "Sender fld val" column,could you tell me what is the use of this column?
    I also click the "create proposal for value", it fill the key figure field name in the formula column, but when I run a check, the proposed rules is wrong.
    Thank you very much.
    Best regards,
    Eric

    Hi Eric
    You can maintain the parameters of retraction with transaction UBP_STRUCT
    Chck this doc for details on tables to maintain
    /people/praveen.mayalur/blog/2006/07/01/bps-retraction-for-cost-center-accounting--i
    Ciao
    Andr.

  • 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

  • Problem with displaying key figures in report

    Does anyone have experience with SAP Report Designer for Release 7.0. I want to display key figures in the following manner: 1'500 (Which means 1.500.000) For a billion the value displaye should be 1''000 (1.000.000.000).
    1000 =     1.000
    0'010 =     10.000
    0'100 =     100.000
    1'000 =     1.000.000
    0''010 =     10.000.000
    0''100 =     100.000.000
    1''000 =     1.000.000.000
    Thus the report always shows 4 digit figures. The problem is that I don't know how to include the apostophe as a separator for the million.
    Additionaly to that I want to have the font changed to a smaller number, if the figure is to large for the column. Is there a possibity to change the display of the figure with the scaling? And is there a possibility to change the font? These two parameters have to be decided when running the report. (The scale of the numbers can differ within one column.)

    there is two way to display the values , one is globally, where u do it the keyfigure and another way is on the query designer level
    in keyfigure go to aggregation , there u will get the number display format , u can change there and another way is in the query designer right click on the key figure and select properties and select display format

  • Problem with virtual Key Figure in a query

    Hi Experts,
    I would like to share my problem with the virtual key figure in a query:
    I have a query with a virtual key figure and when I eject the query by analyzer, the result sometimes is displayed and sometimes is not displayed (is equal to 0), with the same initials values. And when I eject the query by RSRT always display the result for the virtual key figure.
    Why don't always display the result?
    Thanks a lot

    Hi,
    I think that the problem is the level of support package. We have BI AddOn 7.X (based on 7.20) support package 0.
    What do you think?
    Regards

  • Problem in using characteristics as key figure

    Hi,
    I have a situation where I need to display booked site and closed site sales value and number of sites created in a particular period.
    There is a job id under which multiple SO's can generated. First SO created for a particular job id is indicated by 1 in an indicator (say, ind-1) (which is a keyfigure) and other all SO for that job id are marked as 0 in that indicator. Not booked site can be identified by summing up the indicator values job id wise. Say I have 5 job ids, then my sum will be 5. No problem in that.
    Now the invoice generated for the last SO will be marked as 1 and other all as 0. But the indicator (say, ind-2) used here is characteristic of type numc. So I have created a formula variable using replacement path as processing type and reference characteristics as ind-2 which can be used as a key figure. But the result I am getting is in two rows for each job id, i.e., 0 and 1. How to resolve these into single row for each job id and get the result as 1.
    Regards,
    Sumit

    Hi Sumit,
    Until this point you have just done nice. Now at this point you can create a selection; include ind-1 kyf in the selection and ind-2 characteristic as cosntant selection. Then add a condition on mark to show values greater than 0. Then you can get a result with one row each 1.
    Regards
    Yasemin...

  • Problem in using formula when key figure is commulative

    Hi all ,
    I am problem in generating the report when we use the  of cummulative key figure to the formula..
    consider the following senerio..
    Date      KF1 KF2 KF1(C) Kf2(C) Formula (KF1(C) - KF2(C)
    5.10.2005 1   2   1       2      -1 (wrong result)
    6.10.2005 3   4   4(1+3)  6      -1
    7.10.2005 5   6   9(4+5)  12     -1
    System is taking the actual KF1data is subtracted with KF2 data it not taking cummulative data, Actually my requirement i want to subract the cummulative data between two key figure (ie KF1(c)-KF2(c))
    My Required Output:
    Date      KF1 KF2 KF1(C) Kf2(C) Formula (KF1(C) - KF2(C)
    5.10.2005 1   2   1       2            -1 (Correct)
    6.10.2005 3   4   4(1+3)  6            -2 (4-6)
    7.10.2005 5   6   9(4+5)  12           -3 (9-12)
    pls let through the lights on the above issues.
    with Regards,
    Hari

    Hi Murali..
    Thanks a lot, now i got a proper output and working fine..
    what i did yesterday was i have creted a two key figure as a cummulative key figure ..
    and when i try to subtract two cummulative key figure system is subtracting with actual key figure and hence i got wrong result.
    Today i did same thing, only diffence is i made the third formula key figure as cummulative ..
    With regarsds,
    Hari

Maybe you are looking for

  • Cannot send email from Outlook 2010 without disabling iCloud Outlook Add-in

    I have seen a few discussions on this but no answers. I have bought a new PC. Installed Outlook 2010 and iCloud latest version 3. All seems to work fine but emails go into the Outbox and dont get any further. If I remove the iCloud Outlook Add-in the

  • 1st negative date

    Post Author: mbunschoten CA Forum: Formula I have a column that holds a running balance by day of materials available. It sometimes happens that this balance goes negative on a certain day. What I want to do is pull only the date when it first went n

  • Problem with one way Outlook (2007) Calendar desktop synch to blackberry

    I normally do wireless synch of e-mails and PIM for my 8330 Curve (Verizon) through Enterprise server (on work computer) - and that's been fine.   Problem is that I would like to load older Outlook Calendar entries from my home laptop onto the blackb

  • Oracle patches

    Hello DBAs Can anybody give me a clear information on different patches available in oracle. Means patches like - oneoff patch ( patch for a single problem ) cpu patch ( critical patches which are bound to a bundle and will be release every quarter o

  • Sim slot error..how do i fix it??

    My sim slot is damaged ..is there any solution for it..