Query with a condition - Overall results row displays incorrect value

Hi All,
I have a bw query with top 40 conditions. However, The Overall Result Row Figures Do Not Equal The Sum of the Column Rows.
Although the top condition is activated, the overall result still displays the overall result of the whole report.
I have 3 columns in the report
Selected Period
Prior Period and
Variance
The formula for variance is (Selected Period/Prior Period)-1.
Does anyone have an idea to fix this?
Thank you so much in advance.
Have a great day!

Hi Gaurav,
Thank you so much for your reply, however this does not solve fully the issue.
Changing the properties to "Summation" will indeed provide me with the correct sum for the "selected period" and "Prior Period." However what I need in the Overall Result Row for the "Variance" column is not the total but instead the value when the total of Selected Period is divided by Prior Period then minus 1.
Overall Variance = (Overall Selected Period/Overall Prior Period)-1
Do you know a way to make this possible.
Thank you so much.

Similar Messages

  • Query with a condition - Overall results row is wrong

    Hello,
    I have a query that uses a condition.  The query gives me the top 10 brands according to the Net Sales.  The query itself runs fine.  I just noticed however that the Overall Result row isn't giving me the correct number.
    For example:
    <b>BRAND            NETSALES    MARGIN %</b>
    Brand1           $100        25%
    Brand2           $60         10%
    Brand3           $20         15%
    <b>OVERALL RESULT   $210        2%</b>
    As you can see it does not add up or average correctly.  This query has no macros or anything, it only uses a condition.
    Any suggestions?
    Thanks,
    Nick

    A workaround I have found is the manual directions in this OSS note: 572910
    Anyone have any follow up?
    Thanks.
    Nick

  • Query designer and Standard deviation result rows

    Hello everyone,
    Here is my problem.
    I have a key figure for which I do not want any decimals. So in the Number Format : Number of Decimal Places = 0.
    I thought the result rows would follow the same rules by not displaying any decimals.
    But using the Calculate Result as ... "Standard Deviation", even though my key figure is define with no decimals, the result row displays 5 decimals anyway ! 
    Why? and is there any way I can suppress the decimals of my results rows with a Standard Deviation 
    Thx
    JBF
    Edited by: Jean-Baptiste Faubert on Jan 16, 2008 2:56 PM

    Hello Jean,
    First I would try to unmark flag 'Use default Settings' below Number of Decimal Places in Query Designer.
    If this doesn't help you could set Decimal Places in the Provider specific Properties in Key Figure of the MultiProvider used from 'Not defined' to 0.
    Also you could change the number of decimals in InfoObject maintainance of used Key Figure (in RSA1).
    But then you have to check other queries where this Key Figure is used.
    Kind regards
    Klaus

  • 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

  • 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.

  • 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

  • Table Interface - Overall Results Row

    Can anyone tell me if it is possible to manipulate the contents of the Overall Results Row calculated by OLAP using a Table Interface?

    Hi,
    Go through this Help Document on Table Interface. U will get a clear idea.
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/06a83a4bd5a27ae10000000a11402f/frameset.htm
    check these links as well....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49dfeb90-0201-0010-a1a2-9d7a7ca1a238
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f0aca990-0201-0010-0380-f3aac4127a57
    hope this helps....

  • Decimal places on the result row is incorrect

    Dear Expert,
    I met a problem that decimal places on the result row is incorrect.Anyone can help me?
    On key figure balance,we do the currencies translation,also we set the key figure should have two decimal places.
    We set a fomular to calculate the total result of Account A,B,C.
    (Total result = account Aaccount Baccount C).
    If we manually sum up the balance of account A,B,C displayed on analyzer,which are rounded to 2 decimal places,the result should be 601.25(100.61200.38300.26),but the actual total result executed by query is 601.24.
    In fact we need the result 601.25 instead of 201.24.
    I take the example as following:
    Account      Balance
    Account A  100.61
    Account B  200.38
    Account C  300.26
    Total result 601.24
    Thank you in advance.
    Best Regards,
    Maggie
    Edited by: Maggie Ma on Sep 25, 2008 9:17 AM

    your "problem" is, that BEx is not totalling the "displayed" values but the real values
    try a summation on the following in Excel:
    100,605
    200,375
    300,26
    then format the cells to show 2 decimal places only
    do you see the result changing?

  • Exception Aggregation (Average) displaying incorrect values after EHP1 Upgr

    Hi All,
    Exception Aggregation (Average) displaying incorrect values after EHP1 Upgrade in our BW system
    We have recently upgraded the system to EHP1. After the upgrade some of the queries where we are using Exception Aggregation (Average) started giving the incorrect values.
    Eg. We are displaying three Key Figures KF1, KF2 and KF3 (=KF1 %A KF2) against Store Hierarchy. In KF3 we are using Exception Aggregation (Average) on a characteristic 0PLANT.
    There are 14 rows against 0PLANT and out of those 2 rows are blank for KF1, so for KF3. When it is calculating the average of these key figures its dividing the total value by 12 instead of 14 which is not correct in our case. Earlier it was dividing the total by 14.       
    So in this case 'Average' and "Average of all values <>0" are behaving the same way.
    Kindly provide some inputs on this.
    Best Regards,
    Sachin Verma
    +44 7506740018

    Hi,
    Thanks for viewing the thread. And happy to let you know that the issue was resolved.
    The solution was:
    Two formulas (local) were created, one including the formula variable with replacement path for ZD1, with exception aggregation on ZD1, and the other with formula variable with replacement path for ZD2, with exception aggregation on ZD2. Both these formulas are hidden.
    Another formula (local) was created for u2018time takenu2019 = formula with ZD1 u2013 formula with ZD2, with exception aggregation total on u2018ZDOCNOu2019.
    For the second instance, when one requires exception aggregation on records that has multiple values for keys, a nesting of formulas can be done displaying only the ones required.
    For e.g. a formula with exception aggregation on say characteristic u2018item no.u2019 can be hidden, and included in another formula for exception aggregation on characteristic u2018document no.u2019. This is a typical case where one can achieve calculation before aggregation for a calculated key figure, formula or a counter.
    Hope it might help someone, and saves time and effort for a similar issue posted.
    Also would like to keep this thread open for exploring better solutions.   
    Regards,
    Vijay

  • Issue in Result row display for free char drilled for query with structures

    Hello All,
    I have a structure in the Row with various calculated subtotals for e.g:
    Total Interco sales(selection on some G/L accounts)
    Total ext sales(selection on cost center+group accounts)
    Total Revenue (formula in structure) = Total interco sales + Total ext sales
    In the column I have the key figure called balance.The net effect of this is in the report out we have :
    subtotal**********balance
    Total interco sales*100
    Total ext sales*****200
    Total revenue*******300
    This  is fine in the initial layout ,but when there is further drill down say on the G/l account then the account numbers are repeated for total revenue as well .For e.g
    *********************G/L account Balance
    Total interco sales 11100********50
    *********************12000********50
    *********************result --->*****100
    Total interco sales**11100********50
    ***********************12000********50
    ***********************Unassi******100
    ***********result---->**************200
    Total revenue******11100********100
    ***********************12000********100
    ************************#*************100
    *Overall result -->***************** 300
    However the users dont want to see the g/l account break up for the total revenue in this case.i.e if g/l account is drilled down then only the break up should be seen for total interco sales & ext sales and not for revenue.i tried using supress individual result in case of total revenue but it was not helpful.Also building something like hierarchy with text nodes isnt feasible since there are a lot of subtotals with different char restrictions.Any ideas on  how to achieve this?

    There isnt a way to achieve this,but as a workaround we built selection in the structure.

  • Result row display in a Bex query in BW

    Hi ,
      I have a problem where the result rows are not getting displayed for row where only one line is getting displayed.
    Basically, in column i have a 2 columns one is a normal characteristic for customer and another is a hierarchy field (Product Hierarchy) against some key figures.
    But , for a given customer and product hierarchy their is only one line occuring .
    Here, the result line is not appearing .
    This condition is appearing only where their is a single line comming up.But,  where multiple lines are appearing , the result line is getting displayed.
    The results are not visible at the level 1 when there is only one occurrence and even if the option in Query Designer is :- results rows is  u201Calways displayu201D.
    Is their any other setting i need to do in order to correct this.
    Thanks in advance,
    Balaji Raj

    hello Balaji,
    i had a similar problem with a query.
    in this query a resultline was never shown for a characteristic - even when i choose the option "ever show result line" for this characterstic.
    which sap note did you apply?
    regards
    philipp

  • 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

  • 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

  • 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?

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

Maybe you are looking for

  • ITunes hangs when I connect my phone

    iTunes 10.2.1.1, iPhone 3GS iOS 4.3, Windows 7 SP1 64-bit. Short summary: when I connect my phone to sync, iTunes hangs. If I let it sit for a minute or two it will eventually crash. If I disconnect my phone before this then iTunes starts responding

  • After upgrading to itunes 11 home  sharing to all devices, apple tv, ipad, itouch, doesn't work, or doesn't work for long. How do I fix it?

    I followed a tutorial to downgrade back to iTunes 10.7, which worked but the home sharing still having issues. It will stream for a few minutes and then kick me out and tell me I need to turn on homesharing. If I restart itunes I can watch again for

  • Confirmation

    we are facing error  in SRM 7.0 confirmation Line 1: No goods receipt possible for purchase order 7500000043 00001

  • USB 2.0 required to update iPad2?

    I have a MacPro which I purchased in 2008 or so, and my iPad 2 will not charge or update when plugged into the USB port.  It will back up and sync my data, but I receive an error message when it tries to update to the newest OS.  Is this caused by no

  • Convert to date in oracle

    Hi guys, i have this string "5/25/2010 2:24:35 PM", and i want to convert this to oracle date ..how can i do it thanks