Omit the final SUM row in a report using breaks

We have a report using breaking whereby it is broken for current day, week to date and month to date. We want to use the column SUM feature so that we have a count of all records for the day, week to date and month to date.
This works fine, however we also get a final sum row on the bottom of the report which is a sum of the month, week and day count. This is meaningless as the month includes the week which in turn includes the day - all it gives is a useless large number! :)
Is there a way to stop this final column being displayed?
Thanks in advance

I have managed to remove the last row in a table using the following code:
<script type="text/javascript">
$(document).ready(function() {
   $("#JK_TEST .t7standard tr:last").remove();
</script>However, the report uses a bottom border implemented using a <TR> so I actually need to remove the second to last row. I have tried to work out how to do this but am still trying!!! Any suggestions?
EDIT::
DONE IT!!! :D:D :D
Cheers for the help!
<script type="text/javascript">
$(document).ready(function() {
   $("#JK_TEST .t7standard tr:last").prev($('<TR>')).remove();
</script>Cheers!
Edited by: /dev/null on Mar 24, 2009 4:49 PM

Similar Messages

  • Shrink the space between rows in a report

    hi all,
    As the subject says, I am trying to shrink the space between rows in a report so that there is no space between rows when i print it. Does anyone know how to do this? Do I need to make a custom report template for it?

    The space between rows in a report in Apex is frequently determined by the cellpadding and cellspacing attributes of the TABLE tag that makes up the innermost report area, but there also other factors that may affect the resulting area, so one has to look at the specific case and see what is determining the final result, bearing in mind that it's quite possible that two browsers will display the same thing differently.
    At any rate, spacing is normally controlled by fine-tuning margin and padding properties in CSS.
    As CSS stylesheets, as per their name, are applicable in cascade, you can add your own CSS stylesheet in the page header (after the built-in ones).
    If you are using Firefox (with Firebug add-on installed) or Chrome or Safari, you can easily experiment with these properties and see the effects by temporarily setting or unsetting certain values and when you are satisfied, you can copy the resulting definitions into your stylesheet.
    The fact you want to make some adjustments only when printing can be solved by means of the @media rule inside the stylesheet or by linking different stylesheets depending on the value of the media attribute in the LINK tag or by dynamically pointing to different stylesheets depending on whether Apex is rendering the page in printer-friendly mode or not.
    Flavio
    http://oraclequirks.blogspot.com

  • Simple PL/SQL Report - Using Break on and Compute Sum - Not So Simple

    Good morning, All:
    I have a simple pl/sql report that is not so simple. Basic on the code below, would like to add a blank line/row after the resulting "sum" row to make it easier to read. Any and all help would be appreciated.
    Thank you.
    Preston@Large
    Code:
    =======================
    BREAK ON ALM_OG_CAMPAIGN_CODE
    COMPUTE SUM OF ALM_OG_AMOUNT ON ALM_OG_CAMPAIGN_CODE
    set linesize 1024
    set pagesize 60
    set newpage 0
    set serveroutput on
    SPOOL &so_outfile;
    ttitle center 'Wayne State University' skip 1 Left 'WSU Online Giving Essentials Report' skip 2
    select TO_CHAR(sysdate, 'mm/dd/yyyy hh:mm AM') "Report Date" from dual;
    CLEAR COLUMNS
    column ALM_OG_ACCI_CODE heading "ACCI|CODE" format a10
    column ALM_OG_AMOUNT heading "AMOUNT|DONATED" format $999,999,999.99
    column ALM_OG_CAMPAIGN_CODE heading "CAMPAIGN|CODE" format a14
    select
    ALM_OG_CAMPAIGN_CODE,
    ALM_OG_ACCI_CODE,
    ALM_OG_AMOUNT
    From WSUALUMNI.WSU_ONLINE_GIVING_TABLE
    ORDER BY ALM_OG_CAMPAIGN_CODE;
    CLEAR COLUMNS
    spool off
    Output:
    WSU Online Giving Essentials Report
    Report Date
    ======================
    06/05/2009 10:06 AM
    1 row selected.
    Wayne State University
    WSU Online Giving Essentials Report
    CAMPAIGN ACCI AMOUNT
    CODE CODE DONATED
    ====== ======== ==========
    sum $560.00
    NUR 444814 $10.00
    ***** =======
    sum $10.00
    PHS 445216 $10.00
    ***** =======
    sum $10.00
    PRES 445211 $450.00
    445211 $60.00
    445211 $250.00
    ***** =======
    sum $760.00
    SBA 444216 $10.00
    ***** =======
    sum $10.00
    SSW 444469 $10.00
    ***** =======
    sum $10.00

    Prestone,
    Welcome to the Forum!
    I have used skip 2 lines you can use 1
    SQL> break on job report skip 2
    SQL> compute sum of sal on job report
    SQL> select job , sal from emp order by job ;
    JOB              SAL
    ANALYST         3000
                    3000
    sum             6000
    CLERK           1300
                     950
                     800
                    1100
    sum             4150
    MANAGER         2850
                    2975
                    2450
    sum             8275
    PRESIDENT       5000
    sum             5000
    SALESMAN        1500
                    1250
                    1250
                    1600
    sum             5600
    14 rows selected.READ
    Quick SQL*Plus Guide
    http://download.oracle.com/docs/cd/B14117_01/server.101/b12171/toc.htm
    SQL*Plus Reference
    http://download.oracle.com/docs/cd/B14117_01/server.101/b12170/toc.htm
    SS

  • How to transpose the data records (rows) to column(lists) using apd

    Hi,
      how to transpose the data records (rows) to column (lists) using apd  in sap bw.
    I do not want to use abap routine.only use the transpose rows to list  transformation .
    Pls provide the step by step procedure .
    thanks,
    Nimai

    Save youe file to transpose as a csv and in the header row of your file for the columns you want to transpose you need to put some soer of a tag before the column name (ie your colum header was for a period budget will be something lie 2011001:ZFIBDD)
    1. You will need to create a new apd process (rsanwb)
    2. Insert a "Read from Data File" data source object and map it file (,csv)
    3. insert a transpose object into your apd process (middle row 4th one over in the transformations section)
    4. under the definition tab in the transformation object select all the columns that are to be transposed into rows and move them to the transformed area, the grouping fields section should contain the rows that you want to now be columns
    5.under the transformation tab enter in the seperator you selected  under the Field Name/Infoobject area (ie. ZFIBDD)
    6. under the details tab  you need to enter in all the fields to be transformed and tner the transposition field (ie ZFIBDD)
    7. Then you can insert a set of transformations and a DSO and link the newly transposed fields into that.
    hope that helps

  • How do I apply filters or limit the rows on my report using a Date field in SQL report builder 3.0?

    I have a status of completed and a date field in the dataset. The date field is either empty or contains a date. All 2015 dates are holding dates.
    So how can I limit the report to only pull completed status with an empty date or a holding date?
    I have not been able to set an OR option on a date field filter and if I add two filters on the date column one for empty one for > 12/31/2014 then it treats it as an "and" and pulls nothing from the list I have in sharepoint.
    any help will be appreciated.

    Hi MB,
    In Reporting Services, the relationship of  filters is “And”, and there is no option to change the relationship from “And” to “Or”. While we can use “or” operator within the expression to create one filter to integrated all filters to work around this
    issue.
    We can add a filter as follows in the dataset to limit the rows in your report:
    Expression: =Fields!date.Value is nothing or Fields!date.Value>"12/31/2014"    Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How to populate the last empty row in Excel without using Report Generation Kit

    I wrote  a Labview SUb Vi that uses Report Generation Toolkit that is not loaded on the test stand. I am looking to convert it from Report Generation Vi like New Report,  Append Table to Report, Dispose Report. The tunneling through all the report generation Vis seems extensive. Code is attached. Thanks, Greg
    Greg

    Thank you that was a big help...
    I used the Excel Forum to get a lot of great ideas.  My code is almost working.
    There is a 2-D String Array that represents the String data that I am exporting to the Excel File Sheet 1 - 5.
    I am attempting to determine the last populated row in sheet 1 then populate the next row of Sheet 1.  Since all 5 sheets are populated every time, I should not have to search every sheet for the last row.
    I am getting two row populated on sheet 1 with seeming the same data.
     I found an AXExcelWrite2D ArrayWorksheet.vi that I thought would work.  I think there is a Table  determination that is causing me problems.  The link is http://lavag.org/topic/13324-labview-and-excel-activex-or-ado/.  The Application Invoke Node has a convert formula with "FromReferenceStyle" with R1C1 Attached to it.   I am not sure what this function is doing.  When I try to bring the function help up, there is a missing file.
    I am including both the new active x vi and the report generation vi.   Report Generation VI works.
    I would appreciate any assistance I can get on this.
    Thanks
    Greg
    Greg
    Attachments:
    REPU Test Data Population using Active X Write Save.vi ‏92 KB
    REPU Test Data Population.vi ‏60 KB

  • How to limit the number of rows in a report

    I have several reports with a number of parameters - date ranges etc.
    Depending on the parameter values selected by the user the reports can return thousands of rows.
    I would like to limit the number of rows returned to, say, 500. If more than 500 rows are returned by the query then display an error message requesting that the user enter more specific parameters.
    Ideally for performance reasons it would be good to catch the error before the datafile is generated, but I don't know if this is possible. Alternatively a check in the template might do the job - using COUNT on the group?.

    Hi Hugh,
    In your query, you got to add rowum < 500 or some sort of DB specific limit to the row being returned,
    this will help to stop the report to get more than 500 records and the report template wont have any restriction.
    or
    you can do that in template too, but i would not recommend.
    In these both cases or in any case, you cannot give any meaningful error if it exceeds N rows,there is no option like this till now.

  • How to get the number of rows in a report region

    Hi all,
    Is there a way to get the number of rows returned in a report region, without issuing an additional "select count(*) from some_table"?
    I mean something like the substitution string #ROW_NUM# but for the total rows.
    Thanks,
    Pedro.

    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/ui.htm#CHDDGGEG
    For classic report regions, the region footer supports the following substitution strings:#ROWS_FETCHED# shows the number of rows fetched by the Oracle Application Express reporting engine (the page size). You can use these substitution strings to display customized messages to the user. For example:
    Fetched #ROWS_FETCHED# rows in #TIMING# seconds.
    *#TOTAL_ROWS# displays the total number of rows that satisfy a SQL query used for a report.*
    #FIRST_ROW_FETCHED# and #LAST_ROW_FETCHED# display the range of rows displayed. For example:
    Row(s) #FIRST_ROW_FETCHED# through #LAST_ROW_FETCHED# of #ROWS_FETCHED# displayed>
    Ta,
    Trent

  • Why is the "Number of Rows" for a report seem to be cached in the session?

    When I change the Number of Rows in any given report that this change doesn't immediately take effect. After much poking around and gnashing of teeth -- I found that I have to go into Manage Session State and Remove State for my session before these changes go into effect.
    Can anyone explain why this setting would be stored in the users' session state and why when I login and get a new session_id this setting seems to persist.
    Thanks,
    Jason

    1. if you login with a new session, the pagination should be reset and the new number of rows should be displayes - which version do you use. I just checked on apex.oracle.com and it worked.
    2. You should try using reset pagination option to see what happens.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Deleting a single row in a report using checkbox

    Hi,
    Can anyone please help me on how to perform a deletion of a single row/multiple rows in a report when one clicks on a checkbox ..
    I went throught the HOWTO's guide .. But when i select a checkbox and say delete i get the following error:
    ORA-20001: Error in multi row delete operation: row= 12, ORA-01403: no data found,
    Waiting for your replies soon
    Thanks in advance
    Rakesh

    jabalsad wrote:
    Hi,
    I am fairly new to JSF so please bear with me if the answer is obvious :D. I'm using a dataTable component to display data from a database and would like to add a commandLink component to every row in the table that deletes that row from the database. What is the most effective way of doing this?
    I'm thinking of using a ListDataModel with some function that removes the correct row (though I'm not sure how it will tie in with a commandLink and exactly where the database will be updated). I'll appreciate any pointers or perhaps even an online example of something similar.
    Alternatively I suppose you could pass an "id" parameter on with the commandLink that somehow gets read in the request and the appropriate row is removed accordingly. This solution seems cumbersome however.Yes, your instincts are correct there. Binding the data model to a backing bean to get the UIData instance for the table. Then use UIData.getRowData() to get the object corresponding to the row containing the link/button. Then execute your business logic to delete the row from the database. Then you need to ensure the data model is updated to reflect the new state of the database.

  • 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

  • When I download an app, it skips to the next page instead of filling the final fourth row?

    I even did a full factory restore without using a back-up (for other reasons) and it still won't work...please help?

    You can move the app to the screen you wish by holding down the app icon until it wiggles, then drag it where you would like it (even to a diffferent page).
    End the wiggling by pressing the home button.

  • How to change the channels of an 2D-Axis report using script

    D2ChnX(i),D2CChnX.... doesn't really work
    Please a short example
    Diadem 9.1 on WIN2000
    Attachments:
    Objektgruppe_aendern.VBS ‏3 KB

    Hi PeterBR,
    I hope the following script base functions may help you:
    '-- VBS - Autosequenz - Datei
    '-- Neu erstellt am 22/01/2002 11:26:43
    '-- Ersteller:
    '-- Kommentar:
    Option Explicit
    call SetNewParameter
    Sub SetNewParameter
    Dim iObjNo,sObjType
    call NewParamFor_Main_Frame
    For iObjNo = 1 To ObjectNoMax
    if ( 0 < Len(PicObj(iObjNo)) ) Then
    sObjType = Lcase(PicObjType(iObjNo))
    Select Case sObjType
    Case "freeframe"
    Call NewParamFor_Frame_Obj(PicObj(iObjNo))
    Case "textline"
    Call NewParamFor_Text_Obj(PicObj(iObjNo))
    Case "xy"
    Call NewParamFor_XY_Obj(PicObj(iObjNo))
    Case "xyz"
    Call NewParamFor_XYZ_Obj(PicObj(iObjNo))
    Case "xytab"
    Call NewParamFor_XYTab_Obj(PicObj(iObjNo))
    Case "xyztab"
    Call NewParamFor_XYZTab_Obj(PicObj(iObjNo))
    Case "polar"
    Call NewParamFor_Polar_Obj(PicObj(iObjNo))
    Case Else
    End Select
    End If
    Next
    End Sub
    ' Set for main frame to new colors
    sub NewParamFor_Main_Frame
    ' do something
    end sub
    ' Set for frame objects to new colors
    Sub NewParamFor_Frame_Obj(sObjectName)
    Call GRAPHObjOpen(sObjectName)
    ' do something
    Call GRAPHObjClose(sObjectName)
    End Sub
    ' Set for text objects to new colors
    sub NewParamFor_Text_Obj(sObjectName)
    Call GRAPHObjOpen(sObjectName)
    ' do something
    Call GRAPHObjClose(sObjectName)
    end sub
    ' Set for 2-D Axis system to new colors
    Sub NewParamFor_XY_Obj(sObjectName)
    call GraphObjOpen(sObjectName)
    For iCurveNo = 1 To CurveNoMax
    if D2CURVEOBJ(iCurveNo) <> "" then
    call GraphObjOpen(D2CurveObj(iCurveNo))
    ' do something
    call GraphObjClose(D2CurveObj(iCurveNo))
    end if
    Next
    call GraphObjClose(sObjectName)
    End Sub
    ' Set for 3-D Axis system to new colors
    Sub NewParamFor_XYZ_Obj(sObjectName)
    call GraphObjOpen(sObjectName)
    For iCurveNo = 1 To CurveNoMax
    if D3CURVEOBJ(iCurveNo) <> "" then
    call GraphObjOpen(D3CurveObj(iCurveNo))
    ' do something
    Call GRAPHObjClose(D3CurveObj(iCurveNo))
    end if
    next
    call GraphObjClose(sObjectName)
    End Sub
    ' Set for 2-D table system to new colors
    Sub NewParamFor_XYTab_Obj(sObjectName)
    call GraphObjOpen(sObjectName)
    ' do something
    call GraphObjClose(sObjectName)
    End Sub
    ' Set for 3-D table system to new colors
    Sub NewParamFor_XYZTab_Obj(sObjectName)
    call GraphObjOpen(sObjectName)
    ' do something
    call GraphObjClose(sObjectName)
    End Sub
    ' Set for Polar Axis system to new colors
    Sub NewParamFor_Polar_Obj(sObjectName)
    call GraphObjOpen(sObjectName)
    For iCurveNo = 1 To CurveNoMax
    If D2PolarCURVEOBJ(iCurveNo) <> "" Then
    Call GRAPHObjOpen(D2PolarCURVEOBJ(iCurveNo))
    ' do something
    Call GRAPHObjClose(D2PolarCURVEOBJ(iCurveNo))
    end if
    next
    call GraphObjClose(sObjectName)
    End Sub
    Greetings
    Walter Rick

  • Different units in total sum row

    Hello Bex Experts,
    I have orders with different Units in a report. currently the total sum row show * for Mix
    How can I get the total sum for ST and KG like
    Total Sum 366 KG
    Total Sum 342 ST
    BR Matthias

    Hi Matthias,
    If you want to sum their numbers regardless of the UNITS, just use the NODIM() in formula..But if you need to add them and have 1 unit for the result, you must convert one of the them to another unit..
    Regards,
    Loed

  • Making a row in a report uneditable

    Hi,
    i have a report with a check box in each row. When the checkbox is ticked and clicking a button
    1. i need to update a table and display the updated row
    2.but the row must be in a disabled style so that we cannot select the row again.
    I did the 1st part.How can we display a row in a disabled style.The process code i am using is given below
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
       Update DISCOVERY
    set "DISCOVERY_STATUS_ID" = 6
       WHERE "EQUIPMENT_ID" = APEX_APPLICATION.G_F01(i)  ;
    END LOOP;

    Hi,
    I did'nt get you.I have a tree ,wen clicking a node in the tree i will display a report using the code
    select
    apex_item.checkbox(1,"EQUIPMENT_ID") Tick,
    EQUIPMENT_TYPE as "Device Type",
    EQUIPMENT_NAME as "Device Name",
    CUSTOMER_NAME as "Customer Name"
      from NAVIGATION
    where ((:P0_CLIENT = Navigation.CUSTOMER_ID)
    AND (:P0_SITE = Navigation.SITE_ID)) This will list all the corresponding equipments with a checkbox in each row.Then i need to tick a check box and press
    a button.Then the page process will update a table and display result.The page process is
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
       Update DISCOVERY
          SET "DISCOVERY_STATUS_ID" = 3
        WHERE "EQUIPMENT_ID" = APEX_APPLICATION.G_F01(i)
          AND "DISCOVERY_STATUS_ID"!=3;
    END LOOP;
    COMMIT;In the resulting report i need to display the updated row as disabled

Maybe you are looking for

  • Can't start CMS 4.7 from admin console

    I can't start cms instance from admin console. When i try to start it says "operation error: unable to start the server". I tried to start the server from command line, it seems ok, so when i back to admin console and try to open CMS, it says "server

  • How can I rotate a video that is sideways on my computer?

    I uploaded a video from my tablet but it is sideways in my pictures on my computer, I want to burn it onto a disc but I can't rotate it. Can anyone help me?

  • Cant delete backups or sync

    I have been having some problems for some time now with not being able to sync my idevice. I have done tons of serching with no luck, I read that i should delete my back ups under edit, prefrences, devices. But when I delete them they come right back

  • What can i do if i have forgotten my security question answers?

    i have forgotten the answers to my security questions and can not reset them, what can i do to download some piad apps?

  • Question about internal Bluetooth connector on Tecra 8100?

    Hello all. I have a pt810e-13c52-sp notebook. Upgraded to 512MB by using 2 toshiba 256mb pc100 modules bought in ebay, upgraded to a PIII 850 also got in ebay, and upgraded to a bigger 40GB wdc wd400e hard disk, with much less noise than 12GB origina