Issue in the Overall Result

Dear Experts
I need your help to solve my problem. I have one BEx report base on a cube and in which I use Key Figure calculated, but when I execute the query, I have on the Overall Result line the result of the formula and not the total result of all items. To illustrate, I have a column with an exchange rate calculated and another column with a Net Value calculated with this exchange rate. If I run the query by displaying all the items, the result is correct, but when I display only the total, instead of the sum of all items, I have the total recalculated with the formulas. How to solve this problem?
Thx in advance for your help!

what i understand from your comment is irrespective of whether your drill down via items in report
the calcuation ( exchange rate and netvalue should happen at each item level and aggregation .
am i right???
if yes then you need to create a formula variable on sales doc number and another one on  sales item no.
definition of formula variable would be replacement path on corresponding infoobject mentioned above.
and attribute value constant 1.
mulitply both the formula variable in your CKF  netvalue .
calculation would always happen at sales doc item level and then aggregation .
another option is to use exception aggregation .

Similar Messages

  • Issue in displaying Overall Result of a formula variable

    Hi All,
    I have a fields as Years of Sevice in my report. This is defined as char. I am bringing this in the report by creating a calculated key figure and then using a formula variable that is defined as the replacement path of the Years of SErvice.
    Now when i execute the report , I dont see the Overall Result. I checked the porperties as Summation.
    The overall result is displayed as X for all the columna
    Report has
    Rows - Leaving Reason - defined as Char
    Columns - Years of Service  >3
                    Years of Service 3-6
                    Years of Service 6-10
    Can someone shed some light where i am going wrong?
    Regards,
    Harika.

    You have said years of service is declared as a characteristic. Is it brought into the report as an formula variable through Calculated key figure ???

  • Using javascript to change the "Overall Result" cell in WAD

    Hi experts,
    I am trying to use javascript to change the text of the "Overall Result" cell in my web template using BI 7.0. I am not familiar with javascript, but I this is what I have done so far.
    I dragged the web item "Script" into my web template and I inserted the following code:
    function change_overall_result_to_average() {
    var cell = document.getElementsByTagName("TD");
    var cellText;
    for (i = 0; i < cell.length; i++)
          cellText = cell<i>.innerText;
               if (cellText == "Overall Result")
                     cell<i>.innerText = "Average";               
    In the XHTML view I am using added the onload function to start the javascript every time the web template is loaded. The code works fine when the web template is first loaded and the cell text is changed to "Average". However, if I navigate in my web template, the javascript function is not triggered, and the cell is therefore changed back to "Overall Result". For example, this happens when I pick another selection from one of my dropdown boxes, such as changing the selection from year 2008 to year 2007.
    I don't really know how to solve this problem in an easy way, and the current solution is not good enough. I hope one of you guys can suggest an easy way of fixing this:-)
    Best Regards,
    Morten

    Woodstock apparently renders some Javascript/DOM with some homegrown widget framework which on its turn renders the HTML DOM tree instead of plain vanilla HTML. Correct me if I'm wrong, to confirm this, just view the generated HTML source of the page.
    After some Googling I found out that you need getProps() and setProps() to get and set element attributes respectively.
    [http://google.com/search?q=webuijsf+domnode+site:sun.com].
    If you stucks with this, I recommend you to post this question at a forum or mailinglist devoted to Woodstock, e.g at their own homepage at dev.java.net or the Netbeans forum at nabble.com. You're here at a Sun JSF forum, not at a Woodstock forum.

  • Problem in positioning of the Overall Result Row when using a hierarchy

    Hello All,
    i've built a query on a hierarchy and i want the 'Overall Result' to be displayed at the bottom.
    I've made the following setting in the Query Designer
    <b>Query Properties -> Display -> Results Position -> Bottom/Right</b>
    but still, the 'Overall Result' is displayed at the top of the result rows.
    Could some one please tell me if this is how the functionality is expected to work when a hierarchy is used for display ?
    We are on BW3.1 SP 9
    Best Regards,
    Sanjay<b></b>

    Hi Roberto,
    could you please let me know if the following analysis of mine is correct.
    The Overall Result will be dispalyed at the top if the 'Position of Lower-Level Nodes' is set to 'Down'(default setting) in the Hierarchy Properties of
    the characteristic. If the 'Overall Result' is required to be at the bottom then 'Position of Lower-Level Nodes' has to be set to 'Up'. It is not possible to display the Overall Result at the bottom with the 'Position of Lower-Level Nodes' set to 'Down'
    Will greatly appreciate your help !
    Best Regards,
    Sanjay

  • How to get  the Overall result and Avg in Query

    Hi
    I am facing a problem to find Overall result and Avg for the keyfigure.
    Here is the scenario.
    I have a fiscalperiod ,qty in query column and material in row, when user enters the fiscalperiod(004.2006 to 006.2006)
    the output should come as
       0406 0506 0606  Avg
    M1  10  20   40     35
    M2  20  40   30     45
    res 30  60  70
    i can able to get the overall result not avg,
    if i change the properities of keyfigure 'Calicuate Result as 'Average of all values'',then i am loosing the overall result.
    eitherway i can able to get one result,not both.
    anybody can help.
    Thanks
    Madhu

    You have 2 key figures and you have put Material in the ROWS.
    Remove Material from ROWS and instead use 0FISCYEAR in the row selection.
    You can create 12 Key figures for each month and use either Filer or Free Characteristic using 0CALMONTH to restrict the month for the selection Variable.
    For the Key Figures use "Calculate Single Value as" Average.
    Create another formula as KF1KF2....+KF12 to get the sum of average.
    Regs
    Gopi
    Assign points if it helps...

  • The overall result shows * instead of the value

    Dear Experts,
    In my report i've qty in columns and item in rows. The qty is in all Ea. (Each). So when i run the report i thought all the noumber would be added for qty and displayed in the overall result.
    But in the overall result it shows a * . However in the formula bar in excel it displays a number like 44000.
    I tried using nodim() and it worked, but my question is since the qty is in all Ea.'s shouldnt it add up the value to be displayed in the overall result.
    Can someone shed some light.
    Thank you...

    No Jr., i dont any record with a blank value.
    Wond, i agree with you. I thought i should see the total since all the items are in Ea.
    Is there anything else i can check.

  • Check complete. The overall result of this check is: Failed ASM ins

    Need steps to clean that plz
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The installer has detected that you may have an Automatic Storage Management (ASM) instance improperly configured or one that was not properly cleaned up from a previous install.
    Recommendation: You must completely remove the ASM instance by deleting the entry for it from the oratab file, or you must configure it properly by ensuring that the oratab file is updated to point to a valid Oracle Home where ASM is configured.
    ========================================================

    Either remove the line in the /etc/oratab file for the ASM instance, or add it if it is missing.
    The file shows the proper format of the line.

  • Supress the "Overall Result" in the Query

    Hi,
    Is there a way of supressing the overall result in the query? I do know that i can supress results by characteristics, but I would like to supress the results on a query level.
    Thanks

    Hi Davy,
    Select all the characteristics and supress the result for all of them.
    Regards,
    Diego

  • How to display Average, not Sum, in the "Overall Result" row of a report?

    Every report I look at or execute that has an Overall Result row always shows a total(sum) of all the cells in the column.  I recently came across one that shows the average of all the cells in the column and after looking at the query in BEx Query Designer 7.0 and BEx Analyzer 7.0 I cannot seem to find out where to set this.  All of the Key Figures are listed as "Nothing Defined" in the Calculations tab which is exactly what they should be, but where can I set that yellow-highlighted Overall Result row to calculate an average, not a sum?
    Example can be found in this picture:
    http://img87.imageshack.us/img87/6757/pic1yp.jpg
    Thanks for the help!

    My issue was that I was setting my KF's to 'Calculate Result As: Average' within the Query View that I was editing but the change was not showing on my screen when I have that View opened within the Analyzer.  Infact, it still is showing totals.  But when I execute my Web Template that references this Query View, the graph does display the result row using Averages.  Seems to just be a visibility bug, but it is now working.
    Thanks for the reminder about that property KP,
    Scott

  • Do not display the overall result for one KF

    Hi,
    Question is in the title, here is an explanation of what I want to get with a simple BEx query (without adding extra vba)
    2 KF : KF1 and KF2
    2 Caracteristics : let's say 0PLANT and 0CALMONTH
    0CALMONTH is displayed in line, 0PLANT in column
                         overall result    1701    1709    1710
    0calmonth        KF1               KF2      KF2     KF2
    01.2009           xxx               xxx       xxx     xxx               
    02.2009           xxx               xxx       xxx     xxx
    03.2009           xxx               xxx       xxx     xxx
    Basically what I want is to KF1 only for the aggregation of all plants and I want to display KF2 for each plant
    Do you think this is possible ?
    For now I only succeed in getting 
                         overall result    1701    1709    1710
    0calmonth        KF1  KF2      KF2      KF2     KF2
    01.2009           xxx               xxx       xxx     xxx               
    02.2009           xxx               xxx       xxx     xxx
    03.2009           xxx               xxx       xxx     xxx
    I checked the forum for a while and did not find the answer (zero suppress do not work on result)
    Thanks for you help,
    rgds,
    Sebastien

    Hi,
    I didnt get exactly for what you are looking for ,
    Chars : 0Plant, 0Calmonth....put these two in two new selections by creating a new structure in Rows
    KF:        what ever the KFs you need put them in Columns in a structure,
    then enable the Cell Reference, now you can hide the KF results by cell wise and/or column wise however you need,
    Regards
    ReddY A

  • How to display the Overall result value at the top of work book

    Hi,
      How can i display the value of  Overall result(Sum of the Total) column at the top of the work book in Text field.
    Thanks
    Sreadhar

    Go to Query Global properties in Query designer and you can find a setting to show result rows on top. This setting will show overall result as first row in the report. But I don't think you can show it in Text field in WB.

  • Hiding lines in a query while using the overall results

    Hi all,
    We got a hierarchy with 4 levels. Each element of the first level after the root "L1" (2nd level in real) receive amounts called "INITIAL". The next step is to send and dispatch these amounts to the 3rd level "L2". At this point, the L2s can send to each other amounts which are then typed as "TRANSFER" and no more "INITIAL" or send and dispatch to the 4th level elements.
    We isolated these movements to emphasize on the L2s which is part of the query goal. The lines as then restricted to the L2s. The next column must compare as a percentage the amounts typed "TRANSFER" to the amounts a the their L1s (father node).
    <u>Our need is to know how to receive an overall result ("INITIAL" amounts on L1s) at the level 2 strictly.</u>
    Type of hierarchy :
    1. ROOT
       2. L1A : INITIAL (1000€)
          3. L21-1A : INITIAL (700€) -> TRANSFER type for 200€
             4...
          3. L22-1A : INITIAL (300€) -> TRANSFER type for 100€
             4...
       2. L2A : INITIAL
          3. L21-2A : INITIAL & TRANSFER
             4...
          3. L22-2A : INITIAL & TRANSFER
             4...
    <b>The result of the query is :
    L21-1A : 20% (is 200/1000)
    L22-1A : 10%</b>
    Thanks in advance for your help.
    Geo

    HI,
    I would suggest you to create a new KF with a formula to check if any of the KF value is zero for example..
    New KF =(( col1 == 0) OR (col2 == 0) OR (col3 == 0) )
    You then hide this new KF always in the query and create a condition to display rows where the New KF is not equal to 1.
    This will hide all the rows which have any of the 3 KF's as 0.
    Regards,
    Shilpa

  • Percentage Deviation (%) - Wrong results in the Overall Results Area

    Hi,
    I have a query with few columns as below :
    (1) Actual Case /hr   (2) Standard Case/hr  (3) Percentage Deviation......
    We have defined "Calculate Average of all values <>0"  for both (1) and (2). Then the Percentage(3)  is calculated taking these Ave Values. These are calculated for each Material. Then for the Material Group .
    The formula is working fine in Material and Material Group Level.
    But when it is coming to the <b>"Overall Result" level at the last</b>, the Averages are coming okay for (1) and (2) but the Percentage Deviation (3) is giving incorrect results.
    Can anybody help me ?
    Regards
    Anand

    Hi Anand,
    In properties of Percentage deviation set "Formula Collision" as "Result from This Formula".
    Hope this works.
    Bhargava

  • Is it possible to change the OVERALL RESULTS to TOTAL?

    Hi Guys,
    When we select a field and in the properties of that field select the option Always Display Results row the query displays the total for that field but the text for the total is shown as OVERALL RESULTS. Is it possible to change that to TOTAL instead of overall results?
    Thanks

    Hi,
    There is one SAP note available to change text of Result and Over all result to some other text. You can search that note in service.sap I dont have it with me.
    But the yeast is if you change that it will be applicable to all the reports and it will change the text for all the reports. In order to change it at report level you may wanna use work-book. Not sure what is the solution if you are using web-templates.
    Regards,
    Akshay

  • How to use the "Overall Result" KF value in a formula in BW query ver 3.5

    My query produces this output:
    Characteristic..........................................................                Key Fig
    X ............................................................................                       408,679.57
    Y.......................................................................                    1,548,085.14
    Z .....................................................................                      300,000
    Overall Result......................................................................     2,256,764.72
    I need my query to perform this calculation
    Characteristic.......................Key Fig...........................Key Figure
    X....................................408,679.57......................408,679.57/2,256,764.72
    Y.................................1,548,085.14....................1,548,085.14/2,256,764.72
    Z....................................300,000............................300,000.00/2,256,764.72
    Overall Result...................................................................2,256,764.72
    How can I used an overall result value in my query calculations?
    Edited by: Carolyn Yankovitz on May 7, 2009 8:44 PM

    Hi,
    Try using SUMCT, SUMGT,SUMRT which are there in data functions in query designer.
    You need to first create formula and then use SUMCT,SUMGT, SUMRT.
    Hope it helps.
    Praveen Tati

Maybe you are looking for