Display only result rows in a query

Dear Friends,
I have a similar scenario than this (i copied it from another post in SDN):
Cal/Month---Cal/Date--
Revenue
Overall Result----
400
January-----Result--
400
01.01.2005----
100
01.02.2005----
200
03.02.2005----
500
I need it to be displayed as
Cal/Month---Cal/Date--
Revenue
Overall Result----
350
January-----Result--
400
February----Result--
300....
Is it possible?
Please advise,
Xibi

Xibi,
Remove caldate from drilldown and always allow result rows for calmonth.
But then your aggregation seems funny.... you have 200 and 500 for Feb and show 300 in the desired result ??
Arun
Assign popints if helpful...
Message was edited by: Arun Varadarajan

Similar Messages

  • Result Row in the query output

    Hi,
    If I restrict a characteristic by hierarchy then I can’t have the result row displayed. If the hierarchy active is removed then the result row gets displayed. All characteristics are marked to show the result row.
    This characteristic is Account Number. If in the query definition I remove the restriction on account numbers and just select hierarchy active and the required hierarchy in the properties then I get the result row in the output. But now it also displays all the unassigned account numbers in a separate node “Not Assigned Account Number (s)”.
    I can’t even restrict it in the output with hierarchy active selected. When I do select filter value in the output the options Include in Selection and exclude from Selection are grayed out and hence can’t select it.
    Please advice on this issue…
    Thank you,
    sam

    Hi Jaya,
    I think you misunderstood my issue.
    My problem is not that i do not want to see the field. But instead, i do not want to see only the results row in the query output.
    I need to have the results to populate a calculation via sumct formula.
    My question is, can sumct be populated if i hide/supress RESULT row ?
    Regards,
    Maili

  • Display only one row for distinct columns and with multiple rows their valu

    Hi,
    I have a table having some similar rows for some columns and multiple different rows for some other columns
    i.e
    o_mobile_no o_doc_date o_status d_mobile_no d_doc_date d_status
    9825000111 01-jan-06 'a' 980515464 01-feb-06 c
    9825000111 01-jan-06 'a' 991543154 02-feb-06 d
    9825000111 01-jan-06 'a' 154845545 10-mar-06 a
    What i want is to display only one row for above distinct row along with multiple non distinct colums
    ie
    o_mobile_no o_doc_date o_status d_mobile_no d_doc_date d_status
    9825000111 01-jan-06 'a' 980515464 01-feb-06 c
    991543154 02-feb-06 d
    154845545 10-mar-06 a
    regards,
    Kumar

    Re: SQL Help

  • Displays only 500 rows on the Reports

    Hello All,
    We recently upgraded from 10g to 11.1.1.6.0 and I am running in to a issue with one of the report. When I run a report, it displays only 500 rows of data but not all the records. Could someone let me knoe which field should we change in the instanceconfig file to resolve this issue
    Thanks

    Check these
    http://docs.oracle.com/cd/E25178_01/bi.1111/e10541/answersconfigset.htm#CIHJGAAH
    http://www.clearpeaks.com/blog/oracle-bi-ee/%E2%80%9Cmaximum-total-number-of-cells-in-pivot-table-exceeded%E2%80%9D-error
    Pls mark if helps

  • Speeding up displaying 1000s of rows of db query results in JSP

    I am working on a report that formats and displays thousands of rows from the result set. Although the query itself takes only 1 sec, a lot of time (15 secs) is spent formatting for JSP and serving it back to the browser.
    Is there an efficient way of speeding this up? Increasing page buffer size didn't seem to help. <%@ page buffer="64kb" %>
    Thanks
    Mark Sabatini

    Is there an efficient way of speeding this up?
    Increasing page buffer size didn't seem to help. <%@
    page buffer="64kb" %>The container starts writing out the html when the buffer is full.
    So, increasing the buffer size will further delay the appearance of the page in the browser.
    If by formatting the page, you mean sorting/re-arranging data, you could push that into the database by using a stored procedure.
    @mshanu: What exactly do you expect to achieve by adding an extra step of converting to xml?

  • How to suppress Result rows in a Query in Web Application Designer

    Hi
                 I am trying to post a query in Web Application Designer. I am able to run the query in WAD but the Results rows appear. I choose Suppress Result Rows always in All Characteristics option in the query in BEx Explorer but still i see result rows in the WAD. Can anyone please let me know how to suppress Result rows so that they dont appear in Web Application Designer.
    Thanks,
    Padma

    To get the enhanced menu-
    1. Open the template in WAD.
    2. Go to Web Item properties.
    3. Go to Entries in Context Menu.
    4. Find the "Enhanced Menu" property. Set it to "display" if you want it to be visible in template result.
    5. Next time when you execute your template you will be able to access it by right clicking.
    or
    If you just want to supress results without adding enhanced menu in the context menu, simply set "Calculate result as" to "No Display".

  • How to hide exception display on results row

    I have an exception on my query, showing when the value of a certain formula is 1. I am hiding the results row display of that formula. It's being displayed as a hierarchy. The value doesn't show on the result nodes but the exception shows. How can I avoid the exception being shown on the result row?

    Hi,
    In the Exceptions, Goto Cell Restrictions Change the Operates value to Everything Except Totals.
    Then Exceptions will not be displayed for the Result Areas.
    Veerendra.

  • Presenting/Selecting the "result rows" in a query

    Hi,
    Here is a description of my problem:
    I have a query which returns values for materials grouped by purchasing groups:
    Group 1 Material A KyeFigure
    Group 1 Material B KyeFigure
    Result:  KyeFigure       
    Group 2 Material C KyeFigure
    Group 2 Material D KyeFigure
    Result: KyeFigure
    I'm using a Web application designer chart to present the values graphically. I would like only to present the result rows in the chart, not item values. But since the chart picks all KFs presented in the table (items as well) this is not the case. I've tried to find a way in the chart-settings without any luck - it seems not possible. The documentation states that you're supposed to design your table the way you want it to show in the chart. However, I'm not allowed to redesign the cube or the report. It is not possible to drill up characteristics either (this affects the calculation).
    My question is: Is there a way to extract the result rows into a new table and then base my chart on that one or simply somehow present only the result rows in a chart?
    Best Regards
    /Daniel

    Hi Daniel,
    You can create the query view in BEx Analyzer. After you execute the query, use filters, drill downs etc to get to the exact "view" of data that you would like you chart to present. Save this query view. Then in your web template assign this query view as the data provider.
    Hope this helps...

  • Result Rows in BEx query

    Hi Gurus,
    I am using five fields A, B, C, D and E (in the same order of appearance as columns from left to right of the report) and finally the Amount (based on a condition). I am getting a weird issue while executing a query. In my report, I wanted to have an additional row for "Result" for each of the above mentioned five fields.
    There is no suppression of result rows (that is I have selected "never" for "Suppress Result Rows" for all characteristics/ fields).
    I checked this several times and ensured that for each of the above mentioned fields, there is no suppression. I am getting "result" rows only for D and E columns (characteristics).
    My question is: Apart from getting final result ("overall result" at the bottom of the report) how do I get a result rows for B and C also?
    Thanks for the Help....

    Hi,
    Are you running the report from the query or from the workbook? If you have changed the query and are stilll running the same workbook, sometimes these changes do not come through...Close the workbook and try to execute the query again. Does it still happen?

  • 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

  • Result Rows in a Query

    Hi
    I have sales org, channel, customer and material along with the key figures in the rows
    of the query. I am automatically getting result for each level by default and then the
    overall result. Is there a way in which i can change all the result rows with
    the corresponding text they belong to like the material result, customer result etc.
    Thanks
    Rashmi.

    Hi
    Not Sure, But try replacement path Variable (with Material Result...etc) and the ckf/Formula(total all the Material, channel...etc) for the same to appear the totals Row .
    /people/kamaljeet.kharbanda/blog/2006/12/28/bex-characteristic-variable-with-replacement-path
    Hope it helps and clear

  • Result row problem in query.

    Hi,
    There is a hierarchy at the query level. When the report is run with disabling the hierarchy i am getting following output in result row =1 which is correct.
                                        Column A
    StoreA                              1
         DepartmentA               1
                    ClassA             1
    Result row                       1
    When hierarchy drilldown is removed to one level i am getting different output which is 2.
                               Column A
    StoreA                              1
         DepartmentA               1
    Result row                       2
    Why i am getting different result row just by removing drilldown to a level?  The setting Calculate result row as is put as "Sum".
    Please help me to resolve this issue.
    Thanks & Regards,
    Virinchi.

    You have chosen a currency field which has multiple currencies ie 1000GBP and 2000 EUR - hence * for the total
    Include the unit of currency in your query and supress result rows for the user - then you will get a total per currency code
    Or of course you coudl nodim the result and add that up (ie in the exampel above you will get 3000
    edit: sorry double post with Praveen above
    Edited by: Simon Turnbull on Dec 30, 2008 2:10 PM

  • 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

  • E-mail Body Displays Only 1 Row From Select

    Because APEX doesn't currently (easily) support attachments to e-mail, I've created a process to call the apex_mail.send procedure that then displays specific criteria in the body of the e-mail. This is gathered via a cursor, etc. The problem is, my query only returns 1 row and should return more. I know this because the select for the cursor is essentially the same criteria as I'm using for a report.
    My process is listed below.
    declare
    e_body_html CLOB;
    j_sql CLOB;
    cursor gather_usrs_cur
    is
    select Q_APEX_ID,
    USER_ID,
    Q_USER_TYPE,
    Q_FIRST,
    Q_LAST,
    C_PHONE,
    C_EMAIL,
    C_STATE
    from Q_AUDIT
    where MATCH = 'Y' and
    UPDT_ID is null and
    UPDT_TS is null and
    COMMENTS is null and
    Q_USER_TYPE = :P32_USER_TYPE;
    BEGIN
    e_body_html := 'This e-mail is being generated to inform you that there are users in your State who have had their BLANK access revoked,'||utl_tcp.crlf;
    e_body_html := e_body_html ||' but their access to the secured portions of BLANK is still active. Those users are: '||utl_tcp.crlf||utl_tcp.crlf;
    for usr_rec in gather_usrs_cur
    loop
    begin
    j_sql := usr_rec.user_id||' '||usr_rec.Q_first||' '||usr_rec.Q_last||' '||usr_rec.C_phone||' '||usr_rec.C_email||utl_tcp.crlf;
    j_sql := j_sql ||usr_rec.user_id||' '||usr_rec.Q_first||' '||usr_rec.Q_last||' '||usr_rec.C_phone||' '||usr_rec.C_email||utl_tcp.crlf;
    end;
    end loop;
    commit;
    apex_mail.send(
    P_TO => '[email protected]',
    P_FROM => '[email protected]',
    P_BODY => e_body_html||j_sql,
    P_SUBJ => 'Accounts Requiring Review');
    end;
    I've included the carriage returns and have also tried substituting the ||utl_tcp.crlf|| with ||char(13)|| and ||char(10)||, to no avail. The e-mail displays the body and one row of the select. Please let me know how I can get my entire results list to display. Thanks in advance for your response(s) and expertise.

    Jason,
    The for loop reset the j_sql in every iteration. It should be:
    j_sql := null;
    for usr_rec in gather_usrs_cur
    loop
    begin
    j_sql := j_sql||usr_rec.user_id||' '||usr_rec.Q_first||' '||usr_rec.Q_last||' '||usr_rec.C_phone||' '||usr_rec.C_email||utl_tcp.crlf;
    j_sql := j_sql ||usr_rec.user_id||' '||usr_rec.Q_first||' '||usr_rec.Q_last||' '||usr_rec.C_phone||' '||usr_rec.C_email||utl_tcp.crlf;
    end;
    end loop;Sima

  • Value from results row of the query

    Hi Gurus,
    My query gives me the following result.
    Cost Cent      Cost Elmnt        Cost      FTE     Cost Per FTE
      CC1                 CE1              100          -            100
      CC1                 CE2              200          -            200
      CC1                   -                   -            5               0
    Result                                    300          5            60
    Now my question is can I capture the result of FTE (i.e., 5) and display it in first and second rows. Basically, I would like the output to be like:
    Cost Cent      Cost Elmnt        Cost      FTE     Cost Per FTE
      CC1                 CE1              100          5            20
      CC1                 CE2              200          5            40
      CC1                   -                   -            5               0
    Result                                    300          5             60
    Regards,
    RR

    Got it...Used SUMCT in another formula variable.

Maybe you are looking for