Subtraction in Results Row

Is there any way at all to have the results row in a query do a subtraction instead of summation?
If not how can I get a difference between two characteristics?

Hi Shelly,
   Subtraction of what, are you trying in the query result?
   Are you trying to calculate difference btw characteristics or key figures..
   Please make your question more clear to get good response from members..
Regards,
Ramesh

Similar Messages

  • Key Figure Summation in Result Row with Cumulation Ticked

    Hi,
    I have a Bex question regarding the summation rows. 
    I need a Year To Date amount and a Period To Date amount in the report.  However, there is no Year To Date key figure available in the cube.  So in order to calculate YTD, I'm using the PTD key figure and have Cumulated box ticked mark in Bex. 
    All looks fine across columns per Vendor.  But the results row for the Cumulative Balance is always equal to the results row for Period Balances.  I believe this is because the same key figure is used, and it is only reading the amounts in the cube - not the ones calculated on the fly. 
    Does anyone know how to correct the results row for a cumulated key figure? 
    Regards,
    Rhonnie

    You have to create two restricted KF; one is PTD restricted to period; the second is PTD restricted in a period range from 01.yyyy to current period.
    Hope it helps.
    Regards

  • 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

  • How to change default for Suppress Results Rows

    Hi,
    Does any one know a way to change the default value for the "Suppress Results Rows" from "Never" to "Always" under characteristic properties in a BEX query?
    Every time we build a new query we have to go to each characteristic and change most of them to "Always". Want this to be a system wide change that would affect all new queries or existing queries that are being modified by adding new characteristics.
    Thanks,
    Mike

    Hi Mike,
    This property is controlled by domain RRXNOSUMS. You can change the default value to point from "Blank" to "U", I suppose. Haven't tried this though and I am not sure if it is okay to play around with the SAP settings. But if it works for you, do post back.
    Hope this helps...

  • Query designer - supress result rows

    Dear Friends,
    I do have created a query using query designer. I dont want result rows in my reports both in web template and analyzer. Could anyone help me on defining the same globally?
    Regards
    Oops

    Hi,
    You need to select characteristics against which results are displayed for key figures.
    In all charcteristcics properites you may find that.
    I hope it will help.
    Thanks,
    S

  • Overall Result Row is not the Sum of Individual Values!

    I am frustrated with a weird problem.  I have an expense report in which Expense1 is shown a value of 8,126.  If I drilldown by company code, the sum of the company codes is 8,235, but the "Overall Result" row is showing 8,126. 
    I tried drilling down by GL accounts, cost centers, profit centers, material and even currency.  For all of these drilldowns the "Overall Result" row is 8,126 but the individual values sum out to be 8,235.
    First I thought it could be "Zero Suppression" that is hiding some values from the display.  But "Zero Suppression" was not active at all.  I have checked the LISTCUBE and saw that the Expense1 should be 8,235 and not 8,126.  The key figure properties "Calculate Result As" and "Calculate Single Values As" are set to "Nothing Defined" and "Use Default Direction".  But still for some strange reason, the "Overall Result" row is different than the sum of individual rows.  It's driving me crazy as I have ran out of ideas to figure out what's happening.  Could someone help me with this?  I would appreciate any input with points!

    Hi,
    Remove the 'Suppress Zero rows/columns' from the query definition and then check the values.
    Column A might have value, but for the same row column B might have zero, hence the row was not shown in the result set, but the overall result will include all such values as well, even thought it was not shown in the result set.
    HTH,
    regards,
    Nataraj.

  • How to hide the all rows except the result row in a report?

    Hi Experts,
    We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
    If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are  used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised  data for every customer. Please suggest how this can be accomplished
    Regards,
    Kavitha

    Moving the char to free char will show the equivalent of result.
    Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
    To achieve this, move your char to free char (say it is 0CUSTOMER).
    For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
    This will ensure the calculation is done at detail level even though the char is not included in the rows.
    If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
    Added:
    I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
    Edited by: Ajay Das on Aug 5, 2009 8:57 AM

  • Position of Result Row in Query

    Hi Experts,
    I am using Hierarchy in Infoobject, as a result, the query result rows stay in front of characteristic after report was generated:
    refer to this picture:
    [url]http://imageshack.us/photo/my-images/155/resultrow.png/[url]
    is there anyway to move the result row to behind like wat normal queries does?
    Thanks.

    Hi,
    Please check the links:-
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c047853e-15bf-2d10-808a-b81acc227a83
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00d00c2b-5a42-2e10-6288-b9ad2e863761
    Hope it helps.
    Regards,
    Prakash

  • Conditions for results row in query

    Hi,
    I've query with conditions. Let us say without conditions query result has 10 records. But After applying conditions result has 4 records.
    When you check the result row the subtotals and totals are coming wrong. Result rows are considering the 10 records.
    How can I get the result row has to consider only those 4 records after conditions.

    Hi,
    I have the same problem. And I didn't find any solution.
    kind regards
    Tobias

  • Wrong value in Result Row in a query which includes 1:N relationship SO/Inv

    Dear all,
    I have an InfoSet which includes sales order DSO, PO DSO and Invoice DSO. The purpose is to design a report to show 3rd party order flow.
    Now I met an issue if one sales item contains multiple billing doc. Below is an example:
    Sales doc: S001   order Qty is 600, there are two invoices for this order B001 invoice 200 and B002 invoice 400. Now in report we see below:
    Sales Doc. --   Invoice no.   ---  Order Qty  --   Invoice Qty
      S001 ---B001         -
           600        -
             200
      S002 ---B002         ---        600         -
            400
    Result Row     -
                                     1200      ---            600
    We can see in Result Row totsl order qty is 1200 which is wrong.
    I am wondering if anybody have such experience and the method soving this problem ? Many thanks in advance !

    Hi,
    Normal aggregation calculates the result row as a summation.  However, you can change this default behaviour by using Exception aggregation at "Order Qty" key figure.
    You can find a detailed article with examples about Exception aggregation at:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0b8ed5b-1025-2d10-b193-839cfdf7362a
    I hope this helps you.
    Regards,
    Maximiliano

  • Display only the result rows only by using condition or any other way

    Hello Everybody,
    I've a web report where I want to diplay ony the result rows and don't want to display the detail rows at all. I could hide the detail rows but these rows still appear without any value in the key figure fields.
    I tried to revove the characteristic field from the drilldown but it doesn't show the report correctly. Then I tried to write a condition to filter the detail rows but this condition doesn't apply to the result rows so this effort also didn't work for me.
    Is there anyway we can display the report with only the result rows ? I've already tried to find out a solution on SDN but couldn't get the solution eventhough I found many posts on this kind of requirement.
    Any help would be greatly appreciated.
    Thanks
    Alok

    Please explain when you say
    "I tried to remove the characteristic field from the drill down but it doesn't show the report correctly"
    What is problem there? What result do you get. If possible please provide  details of columns layout and few numbers

  • Charts (Line chart) in apex 2.0 /3.0 limit of resulting rows in char area

    Hello @apex experts,
    does any body knows if there is a max number of resulting rows by using a line chart. It seems that until 150 resulting rows all is o.k. but when I try to get a line - chart area for a whole year (365 days) no chart is displayed. I spread out the chart area to 2056 x 800 px but no restult is displayed by using the > 300 resulting set.
    Regards and thank you for help

    I changed this and put usage of UTL_FILE into a dynamic PL/SQL. The package will
    compile and work unless you want to create debug information. If yes, then it will raise an
    error message. So, you don't need UTL_FILE execution priviledge from your DBA.
    I opened the package and you may modify it the way that you don't need any public
    synonyms and no UTL_FILE to run it.
    There are so many questions in this forum related to "What is my DBA going to say?" or
    "How is he going to react?". Even for some minor issues. I have myself also seen some
    of similar situations and the only thing I can sey is:
    You got to use that powerfull tool Oracle Database instead of hiding it away from your
    users and developers. Learn how to control it instead of prohibiting access to it! Otherwise,
    it's just a waste of money.
    Denes Kubicek

  • Web Template with document icon in result row

    Hi All,
    I have a web template created in WAD 7.0.
    It has Analysis item with a Query as dataprovider.I have checked the "Document Icons for Data" to On in the cell content section of Analysis Item.
    In query property also,Document link for infoprovider option is checked.
    It is displaying the document icon in data cells correctly wherever comment is entered.But it also displays document icon in the result row cells.
    I do not want to display the document icon in the result row cells.
    Please help in this regard.
    Thanks.

    Have you considered creating and using query views?

  • WAD result row in the name of the WAD report

    Hi,
    My requirement is we need to show summary of the result rows in front of WAD report output. Is it possible by any means please let me know.
    amit

    our requirement is top management should get summary report like this e.g
    WAD output as of now we have.
    > costing report (Heading of the report) (compress)
              > Query result  (at the top or at the bottom)
    I need Query result should appear at top level before clicking on heading costing report.
    Please let me know if anything required above.
    amit

  • 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

Maybe you are looking for

  • Error in Mail!

    I need your help. I have a macbook and the mail 6.5 installed. What happens is, when I create new folders, show me 2 folders with the same name (see image below) and if i delete some of them, it deletes the 2, so all emails that I have in this folder

  • Migrating from a BB Curve 9320 to Torch 9810

    I am in the process of migrating from a BB Curve to a Torch. How can I transfer my apps for the one to the other?

  • Stop notifed of an alert.

    I am receiving a lot of Ora-00600 [qctoTranLik:like transform] errors in a particular database. I am flooded with a lot of e-mails in my mailbox. Is there a way we can instruct the Enterprise Manager to ignore the above alert-- That is not send notif

  • Need a way to have condition in my ant script

    I have an Ant script and part of the conditional script looks like the below <target name="test1" description="demo test">            <echo message="demo test"/>      <echo message="${INCA_PATH}\"/>      <echo message="${INCA_PATH}\SubmitTransactionF

  • Error plugging in phone to itunes

    when i plug my phone into itunes to back up my phone, it says i need to have 11.1 or newer to update my phone but i just downloaded 11.2.  why wont it recognize my phone?