Caculate the percentages  row wise in Result Row

Hello Friends, I have this issue with the sales report , Where the we caculate the percentages of No of Automotive sold / No of Automotive Manufactured
Now we saw that result row for a fiscal yr period calculate the percentages coloumn wise which is incorrect we want to calculate the percentages in the Result Row Header as row wise.
For Example
FISCAL PER/YEAR       No of Auto         No of Auto Manuf     % percent sold
                                    sold
006.2007                        10                      10                             100
007.2007                         20                      20                              100
008.2007                         10                      20                               50%
009.2007                           --                        --                               ---
Result Row ===             40                        50                             cal on column
Correct result should be 40/50 = Total No Of Auto SOLD/ Total No OF Auto Manuf
Thanks
Soniya

Hi Soniya,
You result does not give you correct percentage as the Bex can't. You can do this by adding key figure in data target and write a routine for this key figure to calculate percentage based on the previous two key figures. Now use this newly created key figure in your query designer instead of formula. Then u will get correct one.
Thanks
Kiran

Similar Messages

  • Error:  The percentage of requests that resulted in internal errors

    I am using grid control with a 10.2 database and I keep getting this error with my http server.
    Currently the error says:
    The percentage of requests that resulted in internal errors is 55.1%
    The metrics are set as warning = 1% and critical =1.5% so obviously this is a little over what we expect.
    I have done some searching and cannot find any info about this metric or the resulting error. I guess I am looking for any help in understanding what this error means and if there is a way to fix it. Any info about how this percentage is calculated would be of help as well.
    thank you

    I've raised an SR on this, asking for more information on the following two Oracle HTTP Server metric alerts:
    The percentage of requests that resulted in failures is 69.09%
    The percentage of requests that resulted in internal errors is 409.09%
    I have found a reoccurring error in my apache logs:
    File does not exist: /app/ora/product/EM10GR2/oms10g/Apache/Apache/htdocs/favicon.ico
    This seems to be something to do with IE 5, so not sure its related.
    I will keep you chaps updated with what oracle come back with.
    Bazza

  • Missing Result Rows on Query with Conditions

    I have a query that has a condition to show only items over $2500.00.   We have a result row that shows for plant when the condtions is not on but once the condition is set that result row goes away.  Does anyone know how to get a result row to show up on reports with conditions?  Thank you.
    Caroline

    Hi Caroline,
    In BI 7.0, you goto do this in Query Designer.
    Select any of your characteristic in the designer and choose Display Properties to always display result.
    Then run the query.
    Assign Points if Helps !!
    Regards,
    Naveen Rao Kattela

  • Query with Top N Condition (Result Row)

    Hi,
    I made a query with an active top n condition. The query has 2 Keyfigures and 1 formula
    Gross-sales acutal | Gross-sales previous year | Previous Year %
    So that to result line is correct, I had to say "Calculate result as summation" for the keyfigures
    gross sales actual and gross sales previous year. That works.
    I have the problem with my formula. the formular for previous year % is defined as follows:
    gross sales actual %A gross sales previous year
    Example Top 3 Customer
                        gross sales actual          gross sales prev. year         prev. year %
    Cust 1          100                                   80                                       125 %
    Cust 2          90                                     45                                        200 %
    Cust 3           80                                    60                                        133 %
    Result          270                                   185                                       142.8 % ( 350 * 100 / 245 )
    The result of 142 % is the correct result without the condition top 3. with the top 3 condition
    the result should be 270 * 100 / 185 = 145.9 %
    Additional customer without top 3 condition
    Cust 4          50                                       40                                        125 %
    Cust 5          30                                        20                                        150 %
    It shows the correct result for each single line. The result in the result row is wrong. it is calculated
    without taking the active condition. the formular calculates
    with the total gross sales actual and the total of gross sales prev. year.
    is there any solution the achieve the correct % in the result row?
    thanks for your help.
    Pascal

    Pascal,this is a known behavior with conditions.When you apply condition it just hide the extra rows and it does not impact the result row.So your result row actually shows the value irrespective of the condition you apply.
    Now with the help of local functions like calculate result as summation you can show the correct sum after applying the condition but when you try to use that result in some calculation then it takes the original value thereby discarding the calculated value.
    Same is happening in your case as well.Its taking the original value i.e 350 and not the calculated sum after condition i.e 270.
    Hope this helps.
    Regards,
    AL

  • How to move result row for hierarchical character bellow corresponding rows

    Hi expert,
          in my query , I set a hierarchy for a character in row. but it result row is above rows, however I set all result row bellow corresponding rows in query property. also all other result rows display bellow corresponding rows. please tell me how to move result row for hierarchical character bellow corresponding rows.
    Many Thanks,

    Hi Yasinn,
    you are right and you can make it even shorter:
    LOOP AT ITAB.
      Collect ITAB Into ITAB2.
    EndLoop .
    It will work much faster using field-symbols:
    field-symbols:
      <itab> like line of itab.
    LOOP AT ITAB ASSIGNING <itab>.
      Collect <itab> Into ITAB2.
    EndLoop .
    BTW: Kishore Babu Gummadi's suggestion about the field catalog does not make any sense, not regarding your question and not regarding a field catalog derived from DDIC fields: What is the DDIC defined output length of ekbe-wrbtr?
    Regards,
    Clemens

  • Result row shows min. value as Blank.

    Hi Guru,
    I have following scenario in query,
    Eg.
    1.Values in objects in column,                           10,000
                                                                            Blank (no value)
                                                                            2,000
                                                                            Blank(No value)                     
    Result Row  shows                                         Blank (instead of 2,000)
    2. Values in same object in same column           10,000    
                                                                            2,000
                                                                            3,000
                                                                            1,000
    Result row shows                                          1,000 (which is Correct one)
    If value in column is blank then it is showing me minimum value as blank but in real it has to display min of all row, second if row  is not blank then it is showing correct min. value in result row (As mentioned in second examlp)
    Please suggest me what i have to do to get exact min. of  all values in Result row.
    Thanks,
    Ganesh.

    hi all,
    Thanks for contribution.
    But i want min. values from all rows in my result row.if it is not suppresed by Zero then also it hase to display min value (I MEAN fIGURE LIKE 2,000) from row.
    if i do supress Zero then it is diplaying as Blank hense all resulti row is display blank but i dont want that i want if row value is Zero or Blank it will display as min. of all figure NOT ZERO OR BLANK LIKE ABOVE EXAMPLE IT IS 2,000.
    Thanks,
    Ganesh.

  • How to display the data in row wise in smartform

    Hi,
        I have to make a modification a smartform of poprinting and i want to display the row wise . At present it is displaying the  
        column wise. Actually there is a text which i want to display the data row wise.
        It is possible to display the data in row wise of the text .
    Edited by: nav009 on Oct 8, 2009 10:39 AM

    Hello ,
    I  assume that your requiremen is related to smartform.the below is the solution i suggest.
    As per my understanding of your requirement ,It's clear that as of now there is some description field which is also getting displayed along with other PO fields.
    However you would like to display the description field in a new line since the length of this field is longer than other fields as a result the data is getting scattered .
    Therefore one better option could be: since the whole data from PO would be in a loop you can display all other fields in one line type of the table as per the intial requirement and you display the description line alone in a new line type wth the desired length so that data would not be scattered and no data loss would happen.
    I assume you are aware of creating of line types for table.
    Thanks
    M.Naveen.

  • Getting descrepency in the result row of the Query

    Hi All,
    I am executing a query which is having 4 Keyfigures and 2 formulas.
    I am getting wrong result in the query for formulas.
    Below is the query structure
               f1        f2         f2%f1       f3       f4            f4%f3
    date
    1
    2
             792    408        51.78        9647    8403       88.57
    All the keyfigures - result is set as total
    Formula                - result -nothing is defined(under calculation tab)
    The result I am expecting for column 3 is 408/792 = 51.51
    The result I am expecting for column 6 is 8403/9647=87.10
    To get the expecte result what changes i need to do to the formula.
    Thanks
    Jagadeesh

    Hi Anand,
    Thanks for your reply.
    If i change it to summation, it will give me sum in the result row.
    I am not looking for summation, i want percentage for (overall result F2/overall result F1).
    Thanks
    Jagadeesh

  • Percentage Calculation for result rows

    Hi
    I have problem with percentage calculation on result rows. I have 2 KFs A and B, the result is calulated by setting 'calculate result rows as' to 'summation'.
    But in KF 'C' (which is calculated as A/B*100 ),
    Now the probles is the systen picks up original values of A and B for calculation of C in result rows.
    i.e. system picks up values of result rows for A and B for
    setting 'calculate result rows as' to 'nothing defined'.
    Any ideas on how to fix this.
    Thanks
    Karen

    Karen
    I found something in Forum for you
    Result Rows Calculation
    Pradip's Solution should work. Try and if it is don't forget to award points.
    Regs
    Gopi

  • Prompt using SQL Results with row-wise session variable comparison

    I have a prompt on Department and I only want the departments to show that have been authorized via a session variable for that user. The session variable can return can return multiple values and is set as row-wise. The session variable is returning results and have been used successfully in an application filter.
    I'm trying to put the correct SQL statement and this syntax doesn't work:
    SELECT "Department"."Department Code" 
    FROM "UBC Financials - YTD Table"
    WHERE  "Department"."Department Code" = '@{DEPT_LIMITS}'
    Can someone give me an example that does work?
    Thanks,

    Try something like WHERE  "Department"."Department Code" = VALUEOF(NQ_SESSION."DEPT_LIMITS")
    or else filter on department and then hit on add then Session variable
    ~ http://cool-bi.com

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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Unable to open iPhoto after upgrade to 9.1.3 (bought on apple store)

    Hello all I am unable to open my iPhoto after upgrading it with version 9.1.3 , bought in the apple store. The searching icon never stops. I trieded to synchro with my iPad (where I have a backup of all my pfoto's) but the system tells me that all ph

  • Mp4 won't play in quicktime player

    I have an mp4 file that I'm trying to watch on my quicktime player but I just get an error that says it cannot be opened.  The codecs are H264 - MPEG-4 - AVC, and A52 audio (aka AC3). I have Perian installed.  Any suggestions?

  • UIWebView page width

    Hi, I use UIWebView in my app and I have bounded html for that view. I found when the UIWebView was initially display, the html page was rendered too small, I have to touch the phone to stretch it larger. How can I set the page size in UIWebVIew? Tha

  • Artists not showing up under a songs name

    Hi guys! Hopefully you can help me with this problem as it's driving me NUTS. see image: http://imgur.com/UUCQ1lU Iphone 4 ios 5.1.1 Artist isnt showing up under song names> compare "Hands in the Air" with "She Doesnt Mind" Ive filled out the artists

  • Premiere CC italian and correct US FPS bug

    I'm using a trial version of Premiere Pro cc in Italian but the same bug is present on the 7.1 version in Italian of a friend of mine. When I import a clip recorded in the U.S. at 29.97 fps Premiere always automatically assigns a value of 25 fps. Sin