Using cumulated values for further calculation in a bex report

Hi ya'll,
I have a problem with using cumulated values in a bex report.
the report has three lines:
Values 1:    100    200  300
Values 2:    10      5     40
Values 3:    1000  500  4000
The values of row 3 is a formula multiplying the values from row 1 and 2... My problem is that the values of row 3 are wrong - for example 200*5 isn't supposed to result in 500 !!
I figure the reason is that the values of row 1 is a cumulated result, meaning the <i>actual</i> value of the second column of the first row i 100 (and not 200).
How can I ensure that my formula for row 3 uses the <b>cumulated</b> result from row 1, instead of the underlying result ?.

Create a column structure with Actual Value columns as well as cumulated value columns. Hide Actual Value Columns from display.
Example :
Actual1 | Actual 2 | Actual 3 | *** 1 | *** 2 | *** 3 |
100 | 100 | 100 | 100 | 200 | 300 |
You can create a forumla to calculate Value 3 : (Actual 1 * Value 2 ).
I guess you are using Cell Referencing to achieve this.

Similar Messages

  • Additional values for further F4 help

    Hello all,
    In the current IAC WSSA_ENTRY (sales order) the parameter ~sources contains all values for the F4help; i need additional values for further F4helps;unfortunatly the parameter is fully occupied; setting a second parameter ~sources in the service is not possible.
    Is there any possibility the add addionally values to the parameter ~sources? Can I add the values in the handler (ICF) to any enhancement, exit?
    Thanks & regards,
    Kurt

    Hello Kurt,
    Sorry, my suggestion is to add your customizations to a copy of the one of the existing ~sources.  Use an include or something like that.  It looks like the maximum length is 132 for the value of ~sources.
    Edgar
    Edited by: Edgar Chuang on Nov 25, 2008 12:38 PM

  • SQL Query to find cumulative values for a Financial Year

    Dear users,
    My requirement is to create a SQL query for a table/view where I have day-wise data. I want to find out cumulative values for financial year by giving any date. It should add the values from start of financial year till that date in the financial year.
    I think creating a view of such type will post heavy burden on resources since accuimulation will be done for each day upto that day.
    Thanks

    Dear users,
    My requirement is to create a SQL query for a
    table/view where I have day-wise data. I want to
    find out cumulative values for financial year by
    giving any date. It should add the values from start
    of financial year till that date in the financial
    year.
    I think creating a view of such type will post heavy
    burden on resources since accuimulation will be done
    for each day upto that day.
    ThanksKumar's solution will serve yours purpose but m not agreed
    I think creating a view of such type will post heavy
    burden on resources since accuimulation will be done
    for each day upto that day. Khurram

  • How to use a charctersic as a keyfigure in the BEx report

    How to use a charctersic as a keyfigure in the BEx report?

    Hi chandra:
    Please take a look at the document below.
    "How to... Calculate with Attributes"
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/72f4a790-0201-0010-5b89-a42a32223ffc?quicklink=index&overridelayout=true
    Regards,
    Francisco Milán.

  • How to use cumulative Value in a formula

    Hello Gurus,
    I would like to use the cumulative value in a query as part of a formula calculation. I have created a KF which is assigned a constant value 1. When displaying the KF I am cumulating it so for each row I am getting 1,2,3,4...etc. How can I use this cumulated value in a formula calculation?
    For example, in a column cumulative count is 1,2,3,4...etc .My requirement is ,i want to identify the record with number 36 , to do this i have created a formula with boolean Equal to function comparing with the required number, but the boolean result what am i getting is Zero instead of one(1).
    The reason i found behind the problem is, the cumulative count that we see is dynamically happening during the run time for display ,but the internal value is 1 only.
    Is there any other way to meet this requirement or am i missing anypoint?.
    Thanks.

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • Using a report value for a where clause in other report

    Hi All,
    i'm getting kinda nuts here. I created a page with three reports.
    First report show the name of the user who logged in with his/her whole name. Second report shows the year, week, begin/end date of the week for the user in the first report. The third report show the hours the user worked in the week selected in the second report.
    The link between first and second report is on column report. Somehow i managed it to work with second_report.mdw_code = :P3_ACRONIEM. I have no idea were this P3_ACRONIEM item is coming from, while i have no items in my page whatsoever. Now i need to link the second report to the third report. I have to use the second_report.mdw_code, second_report.year and second_report.week but i have no idea how to link these together. Any idea's? (Like making items, but then i have no idea how to link that item to the value in the second report). Please help.
    Kind regards,
    Dave
    The link between the first and the second i could get it to work with :P3_ACRONIEM. I have no idea where this ITEM is coming from, because i have no items in my page (and it's the only page in the application). Then

    Hi Dave,
    If I understand you correctly, you have a one report that lists users, a second report that lists dates and a final report that shows hours worked?
    If so, you may find it easiest to have hidden fields on your page and base the second and third reports on these using appropriate WHERE clauses. (I generally put hidden fields in a region in the "After Header" position)
    So, if the first report contains a USER_ID field, have a hidden field called P1_USER_ID. The link on the first report will branch back to the same page and set the value of P1_USER_ID to #USER_ID# The second report can then use WHERE USER_ID = :P1_USER_ID. When the page reloads, the second report redisplays and is filtered to show only those records relating to the selected USER_ID in the first report.
    To extend this, if the second report contains WEEK_NUMBER, it should have a link that branches back to the same page and sets a hidden P1_WEEK_NUMBER field with #WEEK_NUMBER#. The third report should when have WHERE WEEK_NUMBER = :P1_WEEK_NUMBER AND USER_ID = :P1_USER_ID. You can, if need be, have and set more than one hidden field during each link.
    Regards
    Andy

  • Can I use MD5 value for indexing files ?

    I would like to know if MD5 value for each unqiue file is also unique. I am wonder if U can use MD5 value of a file for indexing. Any suggestion ??

    I would like to know if MD5 value for each unqiue file
    is also unique.No, since the number of MD5 hashes is less than the number of possible files. Of course, if you don't have many files the probability of clashes is pretty low. There's some theory about this which you'll find in algorithms textbooks where they talk about hash tables.
    I am wonder if U can use MD5 value of
    a file for indexing. Any suggestion ??Why? Don't you want your index to tell you something about the contents of the file?

  • Using data values for member selection

    Hello everybody:
    I know there are functions to operate with members, strings, member names, ... so that you are able to convert from a string to a member (@MEMBER) and conversely.
    But, is there any way to use a member value to select another member?. For example, if in the account dimension I have a member "parent" with value '100'. Could I save in the member '100' a value, using the '100' saved value in "parent" to select that member. So if its value is '200', I should save in member '200'.
    Thank you
    Regards,
    Javier

    Hello CM:
    I apologize for the description :(.
    There are three indicators: "InitDate", "EndDate" and "Parent". There is another dimension with three members: "1", "2" and "3" with these data:
    "Parent" "InitDate" "EndDate"
    "1" "Missing" 20120101 20120301
    "2" "Missing" 20120201 20120228
    "3" 1 "Missing" "Missing"
    My intention is that "InitDate" and "EndDate" for "3" were values taken from member "1" based on "Parent" value for "3".
    So my question was related to create this formula:
    "ID" (
    IF ("Parent" <> #Missing)
    "InitDate" (current member) = "InitDate"->@??????("Parent");
    "EndDate" (current member) = "EndDate"->@??????("Parent");
    ENDIF;
    That is, being able to recover value "1" in "Parent"->"3" to create cross-dimension "InitDate"->"1" and "EndDAte"->"1".
    The problem is that I do not know how to recover a cell value (data) and use it for creating a member name. I think that functions like @NAME, @MEMBER, @ALIAS ... are based on using atributtes, strings, @CURRMBR functions and others, but not for values stored in that members.
    I hope this helps you to understand better what I mean.
    Thank you
    Regards,
    Javier
    Edited by: Javi M on 25-May-2012 02:17

  • Variables used  as values for Security fields.

    Gurus,
    Since we are all friends, let me show my ignorance.
    There are variables that con be used instead of actual values in security fields, $USER being one of them.
    We use $USER as the value for field BTCUNAME for object S_BTCH_NAM, to indicate that the user ID of the person logged in, is the value to be used.
    Are there any more?
    If so, where can I find information about them?
    This would be for an ERP system, not BI.
    Thanks
    Juan

    > Since we are all friends, let me show my ignorance.
    We are all in the same boat
    > There are variables that con be used instead of actual values in security fields, $USER being one of them.
    > We use $USER as the value for field BTCUNAME for object S_BTCH_NAM, to indicate that the user ID of the person logged in, is the value to be used.
    This is not correct. Please see [SAP Note 101146|https://service.sap.com/sap/support/notes/101146]
    > Are there any more?
    Plenty..see [SAP Note 119147|https://service.sap.com/sap/support/notes/119147] for a tricky example.
    > If so, where can I find information about them?
    [SAP Note 323817|https://service.sap.com/sap/support/notes/323817] and the last paragraph of [SAP Note 410993|https://service.sap.com/sap/support/notes/410993].
    Cheers,
    Julius

  • What is an appropriate method to use spool data for further processing?

    Hello SCN!
    First of all, i am new to both: ABAP & SCN. So please be considerate
    I have a given spool and want to search for specific error lines in it to use the information for futher processing. I already serached for answers, but maybe with the wrong keywords. Therefore i have some questions:
    What is the basic principle spools are stored in the SAP-System? I already found the tables tsp01, tsp02... but i dont understand the basic concept. For example i dont know where the spool content itself is provided.
    What is the best way to get spool data in my ABAP program? I testet RSPO_RETURN_ABAP_SPOOLJOB with a positive result, but i am not sure if this is a good way for large spools. And maybe there are better ways i would be pleased to hear.
    Is it common to use spools in the way i plan it, or must i rethink my approach. Catch my lines in the spool generation process for example, but this would be pretty hard in my concrete case...
    I am looking foreward to your suggestions and i am thankful for every input.

    What is the basic principle spools are stored in the SAP-System? I already found the tables tsp01, tsp02... but i dont understand the basic concept. For example i dont know where the spool content itself is provided.
    Spools and information on those are stored in database and sometimes in file system (AL11)
    Header entry in table TST01 (TemSe objects)
    Object associated with the header entry; it can be stored in the file system or in the database table TST03 (TemSe data of the object)
    Entry in table TSP01 (spool requests)
    Entry in table TSP02, if output requests exist
    What is the best way to get spool data in my ABAP program? I testet RSPO_RETURN_ABAP_SPOOLJOB with a positive result, but i am not sure if this is a good way for large spools. And maybe there are better ways i would be pleased to hear.
    This FM will perform well for ABAP list, and you may get problem with spools generated by tools like Smartforms or Sap Script
    Is it common to use spools in the way i plan it, or must i rethink my approach. Catch my lines in the spool generation process for example, but this would be pretty hard in my concrete case...
    For error log processing, look at tools related to a transaction as SLG1, and documents like Create application log. Use of spool report if manual processing expected.
    Regards,
    Raymond

  • NOT Getting Values for LOCATION...on MultiProvider REPORT

    HI All,
    I have a MultiProvider on 4 cubes.All these 4 cubes having object LOCATION. I can see data in all cubes for LOCATION. I am running a report on this MultiProvider.
    Problem:
    I am not getting Values for LOCATION. Why?
    What I did:
    I checked all location objects of all 4 cubes @ MultiProvider level .
    I didn't use any Infoprovider in Qry designer sections.
    Please suggest. What is the reason how to solve..
    THanks & Regards.
    Sri.
    Edited by: siri26 k on Dec 5, 2008 10:41 AM
    Edited by: siri26 k on Dec 5, 2008 10:41 AM

    hello,
    in the identification tab of the MP,make sure you have checked all four checkboxes across the 4 infoproviders.
    then in Listcube T-Code, select your MP,display the records based on selection inputs and see if location is populated.
    If the data is not coming in listcube, then it will not come in the Query too.
    Reg,
    Dhanya

  • How does the value for "Escalated incidents" in the KPI report work?

    Hello,
    I've been running the standard KPI report in SCSM for our support groups and noticed that the value of "Number of incidents" in some cases are lower than the value for "Escalated incidents". How could this happen? Isn't "Number of
    incidents" the total and "Escalated incidents" just an indication of how many of the total that have been escalated? Do I need to add them together to get the total?
    It could be noted that we tick the check-box in the incident form manually without any connection to SLO.
    Am I missing something? Any suggestions would be appreciated. :)
    Best regards,
    Marcus

    >If you can't deactivate ahead of time, you can contact Adobe Customer Care to help you.  But like I said, you can install on up to 2 devices.  I think if you try to install on a 3rd device, your other 2 get deactivated automatically.  So even if you have to format C, you'll still be able to get up and running pretty quickly.
    Great, thank you.
    >Perpetual License means "yours to use for as long as your operating system can run it."   CS6 is almost 3 years old and no longer being updated.  It is what it is.  Presently, 4 versions back from the currently available Creative Cloud version.
    Too bad they went to a dumb subscription based model that doesn't allow you to purchase a full license outright.  I don't want to pay $30 a month,  I'd rather pay a lump sum and be done with it.

  • How to remove the '#'symbols for infoobject movement types in bex reporting

    Hi All,
      I have a problem in Bex reporting. The problem is when ever executing the report  that time some of the characteristic values is shown in layout '#' Symbols. i want to remove the '#' valuse in report.
    is it possible please give me step by step procedure for how to remove the '#' Symbols in reporing layout.
    this is very urgent please help to me on this issue.
    Thanks & Regards,
    Guna.

    Hi Guna,
    To achieve this issue, we need to replace the value of ‘#’, we need to change the description while retrieving the data from tables. So we need to write some ABAP code in SE38. Go to RSA1 transaction and go to Info objects tab. Then go to context menu for ‘cProject Key Figures’ as shown below. Click on the ‘Object Overview’ to get the overview of all the info objects. Here you can see the field names which are used to know the table names.
    In SE11, type the table name in ‘Database Table’ field. Now press ‘F4’, then you will get the next screen to select one of the P/Q/S/T tables.
    Now click on the button rounded in the below screen to view the data in the table.
    Now click the execute button or press ‘F8’ to view the records.
    Now go to Tcode: SE38. Create a source code and give some program name for that source code. To write code, you need access key. Contact your BASIS for this.
    Now write the below code for that particular table in which you want to change the value ‘#’ to description ‘Blank’. In the below source code, we are updating particular table, setting the field as ‘Blank’ where it is null or no value. Here the field will automatically get updated to ‘#’ if there is no value or null.
    update /BIC/PXXXXX set /BIC/ZXXXX = 'Blank' where /BIC/ZXXXXX is null or /BIC/ZXXXX = ''.
    if sy-subrc eq 0.
    write 'successful'.
    commit work.
    else.
    write 'unsuccessful'.
    endif.
    OR
    If this # is because of the missing master data than,
    right click that IO -> maintain master
    you will see first row as a blank.
    whatever value you maintain in this row that will come in the report for all Not assigned # values of the master data in the report.
    maintain it according to your requirement, save and activate the master data
    Hope this helps u...
    Regards,
    KK.

  • Row and column results to be calculated differently in BEx report

    Hi
    I have a BEx report which consists of profit centre characteristics in the row and headcount key fig in the column over 12 fiscal periods.  This headcount key fig has been set to Calculate Results as 'Last Value'.  This setting is correct because I want the Overall Result of each profit centre along the row to be the heacount value of period 12 or 11 or 10 depending on the period range entered by the user.  Due to this 'Last Value' setting, the Overall Results at the bottom of each fiscal period column also shows the last headcount value ie. the headcount value of the last profit centre displayed on the BEx report.  This is incorrect as the Overall Result should be the summation of headcount for all profit centres for fiscal month.
    What settings should I make to achieve my reporting requirement.  Please let me know. 
    Many thanks,
    Anthony

    Hi Uli
    Changing the 'Calculate result as' to 'counting all values' didn't work.
    What I'm getting from the BEx report is:
                   Headcounts...............................
    Profit Ctr  P1   P2  P3.....P12  Overall Results
    P120         5     6    6        7                7
    P121         6     5    8        9                9
    P122         6     9    8        7                7
    Overall
    Results     6     9     8       7                7
    The last row's Overall Results are incorrect.  It should sum up instead of taking the last profit centre P122 's periodic headcounts.  The last column's Overall Results are correct as they are the P12's headcounts.
    I want the BEx query to look like this:
                   Headcounts...............................
    Profit Ctr  P1   P2  P3.....P12  Overall Results
    P120         5     6    6        7                7
    P121         6     5    8        9                9
    P122         6     9    8        7                7
    Overall
    Results     17   20   22     23              23
    Cheers,
    Anthony

  • Cumulative Value for calculation in Formula

    Hi All,
    We have a requirement to use a formula based onthe cumulation of Keyfigures in the report.
    The scenario is like this
    KF1  KF2    ***(KF1)  ***(KF2)     Fornula1 = ***(KF1) / *** (KF2)
    10     2       10                     2           5
    20     3       30                     5           6
    30     4       60                     9           6.7
    40      5      100                   14          7.1
    while we can display cumlative values of KF1 and KF2 in reports by using the calculation tick the cumulative valuses cannot be used in formula
    Is there any work around

    Hi,
    As you now know that cumulated Kfs cannot used in a formula, why don u try creating cumulated Kfs using some Time chracteristics?
    Like this you can hard code the cumulation.
    You can use SAp exit variables on Time characteristics to keep these values dynamic.
    Hope this helps,
    Sharmishtha

Maybe you are looking for

  • Can MacBook with Leopard OS do two-sided printing on the Epson NX515?

    I am looking to buy an all in one printer, and the Epson NX515 seems best in a number of respects, especially the fact that its ink cartridges come in separate colors, which leads to much less waste of ink. But there is one item in the Epson document

  • My apple tv

    My apple TV won't connect to my internet. It says ' there is a problem with your connection please check in your settings and try again' but I am using the internet on my laptop right next to where I am trying to set up my apple TV and the signal str

  • View photo folders not files in CS5 Bridge

    How do I get back to the view of my photo folders?  I can only see individual photo files, and not all of them now.  Don't know what I did to make this happen.  I have a 2009 iMac and CS5 Bridge (Adobe Creative Suite 5 Design Premium). 

  • What is the SuperDrive on the new Powerbooks?

    Is it a UJ-845 ? If so what is the Firmware Revision? I have a UJ-845 in my 1 GHz 17 incher.

  • Airport Extreme 802.11n gone after firmware update

    Started Airport Utility earlier today, just to check a password. An Apple window came up offering new firmware, 7.1.1, I think. I usually accept these offers without thought, so I let the update run. Now Airport Utility cannot detect the Airport Extr