Total of several subtotals outside of table

I have a table that is grouped by expenditure types. Every expenditure type has a subtotal. At end of report, outside of table and grouping, I want to total those subtotals and display total.
I have tried running page totals. I also tried the syntax in Tim's My Total Follow Up but could not get that to work. I am a bit of a newbie..... : )
Thanks in advance for any help,
Nancy

Links of interest and for understanding:
http://blogs.oracle.com/xmlpublisher/2007/10/29#a607
Display of Report Totals of different groups
How do I get a grand total in my template?
Doing Subtotals and Totals in the template
Where's my Total question
Without your xml , and the rtf xsl code , its little difficult to help you.
if possible drop me a mail, with xml and template to fusionDOTobjectATgmailDOTcom
or paste your xml here and RTF xsl code

Similar Messages

  • How to get subtotals on my table

    Hello,
    Could any one please tell me how can i get subtotals on my table. i am new to the tool trying to get subtotals and grand totals for my analysis. please advice

    Hi,
    Can you post how you achieved this? It can help other users in the future. And also remember to close the thread.
    J.-

  • How to do total of quantities in same internal table?

    Hello friends,
    I have an internal table like...
    VBELN    MATNR    WMENG    BMENG
    5001     ZRX1    5        10
    5001     ZRX1    2        5
    5001     PPD5    3        8
    5002     XMX4    1        7
    5002     GFC7    4        3
    Now i need to update my same table with total of quantities.
    So, final table will be...
    VBELN    MATNR    WMENG    BMENG
    5001     ZRX1    10        23
    5001     ZRX2    10        23
    5001     PPD5    10        23
    5002     XMX4    5         10
    5002     GFC7    5         10
    How can we do this?
    Regards,
    RH

    The 2nd part of coding is:
    LOOP AT IT_TRANSACTION.
      AT FIRST.
              WRITE : /40 'NET BUSINESS SOLUTIONS (I) LTD.' COLOR 2 ON ,
               /44 'DEALER WISE REPORT' COLOR 2 ON.
              SKIP .
              ULINE 2(114) .
              WRITE :/2 SY-VLINE, 'REFNO' COLOR 1 ON,
              10 SY-VLINE, 'PRODUCT' COLOR 1 ON, 20 SY-VLINE,
            'DEALER' COLOR 1 ON, 35 SY-VLINE, 'DELIVERY DATE' COLOR
             1 ON,50 SY-VLINE,'QUANTITY' COLOR 1 ON, 60 SY-VLINE,
            'AMOUNT' COLOR 1 ON, 75 SY-VLINE, 'GROSS AMOUNT' COLOR 1 ON
            ,90 SY-VLINE, 'CORPORATE' COLOR 1 ON, 115 SY-VLINE.
              SKIP.
              ULINE 2(114) .
        ENDAT.
    IF IT_TRANSACTION-DEALERNAME NE SPACE.
          WRITE : 2(114) SY-ULINE.
          WRITE :/2 SY-VLINE, IT_TRANSACTION-REFNO, 10 SY-VLINE,
          IT_TRANSACTION-PRODUCTNAME, 20 SY-VLINE, IT_TRANSACTION-DEALERNAME
    ,35
          SY-VLINE
          , IT_TRANSACTION-DELIVERYDATE ,50 SY-VLINE, IT_TRANSACTION-QTY,60
    SY-VLINE,
          IT_TRANSACTION-AMOUNT, 75 SY-VLINE, IT_TRANSACTION-GROSS_AMOUNT,
    90 SY-VLINE,
          'BLANK' COLOR 3 ON,115 SY-VLINE , /2(114) SY-ULINE.
    ELSEIF IT_TRANSACTION-CORPORATENAME NE SPACE.
          WRITE : 2(114) SY-ULINE.
          WRITE :/2 SY-VLINE, IT_TRANSACTION-REFNO, 10 SY-VLINE,
          IT_TRANSACTION-PRODUCTNAME, 20 SY-VLINE, 'BLANK' COLOR 3 ON,35
    SY-VLINE
          , IT_TRANSACTION-DELIVERYDATE ,50 SY-VLINE, IT_TRANSACTION-QTY,60
    SY-VLINE,
          IT_TRANSACTION-AMOUNT, 75 SY-VLINE, IT_TRANSACTION-GROSS_AMOUNT,
    90 SY-VLINE,
          IT_TRANSACTION-CORPORATENAME, 115 SY-VLINE , /2(114)
    SY-ULINE.
    ENDIF.
        TOTAL = TOTAL + IT_TRANSACTION-AMOUNT.
        TOTAL1 = TOTAL1 + IT_TRANSACTION-GROSS_AMOUNT.
        SUM = TOTAL.
        SUM1 = TOTAL1.
        AT LAST .
            WRITE :/64 SUM COLOR 4 ON.
            WRITE :79 SUM1 COLOR 4 ON.
       ENDAT.
    ENDLOOP.
    Regards,
    Nikhil.

  • How do I use the value of a table attribute outside the table?

    I have two tables that are master detail. But it might not be so obvious to the user before he knows how the page works that they are master detail. The tables are in separate showDetailItems in a panelAccordion and what I was thinking of was to show the value of one coloum in the selected row in the master in the text in the showdetail item that contains the detail table. But I can´t find the right expression to put into the accordion. How should the expression look like to get the value of an attribute in a table for use outside the table?

    Thanks for the suggestion but it doesn´t work. The first problem is that the page turns blank when I use that expression for the text in the showDetailItem and the second problem is that I don´t seem to be able to use the master table as a partial trigger. When I click edit in the partial trigger property I can´t shuttle the master table over to be a partial trigger to the showDetailItem even if the table has an id.
    Edited by: Atlantic Viking on Apr 2, 2009 6:24 AM
    Well I figured out how to come half way. I did the following things:
    1) Created an attribute value binding to the attribute I wanted to be shown in the showDetailItem
    2) Set the text property in the showDetailItem to this attribute value like this #{binding.attributeValue}
    To solve the problem I had with the partial triggers I continued like this
    3) Gave other components on the path from the showDetailItem to the master table id´s
    4) Clicked edit on the partial trigger property on the showDetailItem and was now able to shuttle the master table over to be a partial trigger.
    But I now got an other problem which looks like a bug. At first when I enter the page it looks fine but when I change focus in the master table to another row part of the showDetailItem containing the detail table disapears. The detail table still remains and works as it should but the part containing the text I tried to set above disapears and the text in the showDetailItem containing the master gets replaced by the text that was supposed to be in the showDetailItem containing the detail table. Any suggestions how to correct this are very welcome.
    Edited by: Atlantic Viking on Apr 2, 2009 6:59 AM

  • Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

    I'm trying to build a pivot table report from about source 1.3M rows.
    When I'm setting CubeMaxPopulatedCells to a small values (10'000 and less) I'm getting error:
    "Governor limit exceeded in cube generation (Maximum number of populated cells exceeded.)"
    Increasing of this parameter to 100'000 and more (I've tried up to 10'000'000) causes another error:
    "Maximum total number of cells in Pivot Table exceeded (Configured Limit: 200000). Try moving one or more attributes to the page axis."
    Is it possible to solve this problem?

    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does not exist already. Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed in a pivot. Warning: an excessively large number will cause more memory consumption and slower browser performance.
    Hope this helps.

  • Get Grand total of the subtotals

    Hi,
    I am devoloping a report which pulls the expense lines for each project.I am displaying the fte count at each line.As it'll be same for a particular project,all the lines for that particular project will show the same FTE count.I am grouping the
    lines by Project No in Desktop edition.Now I want the total fte count which is the sum of the fte counts at each grouped level.So I cant use the total as it'll give the grand total of all the line entries.But I am not finding any option for this kind of total.(Total of the subtotals)
    Pls give me a solution ASAP

    Hi,
    I am devoloping a report which pulls the expense lines for each project.I am displaying the fte count at each line.As it'll be same for a particular project,all the lines for that particular project will show the same FTE count.I am grouping the
    lines by Project No in Desktop edition.Now I want the total fte count which is the sum of the fte counts at each grouped level.So I cant use the total as it'll give the grand total of all the line entries.But I am not finding any option for this kind of total.(Total of the subtotals)
    Pls give me a solution ASAP

  • FS that updates several lines in the table-part

    Hi!
    I use 2005A B1..
    Can i make FS that updates several lines in the table-part of the marketing doc? For example, i press Shift+F2 in the "Tax Code" cell of the 1st row of the doc, the rest of the lines in the table will have "Tax Code" also updated?
    Regards,
    David

    Hi,
    You can do this using formatted searches.  Please try the following:
    1.  Create a UDF on the 'Marketing Document - Title' called 'VATCODE'
    2.  Add a FS to the UDF with the following query
    SELECT T0.\[Code\] FROM OVTG T0
    3.  Add the formatted search to the Tax Code field in the lines with the following query
    SELECT $\[ORDR.U_VATCODE\]
    The key thing is when setting up the FS at line level you need to set it so that it Auto Refreshes 'When Field Changes' and not 'When Exiting Altered Column'.  The column will be the VATCODE UDF you set up earlier.
    Now if you add a few lines to your order and then select the VAT Code in your UDF by pressing Shift F2 then it will copy down to all the lines.  The only issue is that it will not automatically copy down to any lines added after you have selected the VATCODE UDF.
    I hope this helps.
    Regards,
    Adrian

  • Flash Paper Appears Outside of Table

    I am sure this has smething to do with object tags and the IE
    upgrade, but I can't figure it out! I have a Flash Paper content
    that is to appear in the center of the page. It does fine in
    FireFox, but in IE it appears outside the table in the bottom left
    corner. What do I need to change so IE will view it properly? The
    other Flash Paper pages in the site appear fine in IE. What is
    wrong with this page?
    Flash">http://www.ohiowestie.com/club_newsletter.html[L=Flash
    Paper Problem page

    http://www.ohiowestie.com/club_newsletter.html
    Try that link. Sorry.

  • How to update JTable when clicking outside the table?

    Hi
    (Sorry if this has been asked before but I can't seem to see exactly how to do this from previous posts.)
    I have a JTable which sits on a jPanel which itself is part of a frame.
    When I click anywhere outside the table when I'm editing a cell in the table, how do I end the edit mode of the table (so that the cell is updated with the new contents).Currently I can only update a cell's contents during edit when hitting 'enter' or by clicking on another cell within the table.
    It seems that the following code is used in the process but I'm sure that I'm still missing something:
    if(table1.getCellEditor()!=null)
    table1.getCellEditor().stopCellEditing();
    If anyone out there knows how to do this,I'd really appreciate hearing how.
    Thanks a lot
    LGS

    Thanks for your comments but I'm still having problems.
    When I add the following code:
    table1.addFocusListener(new java.awt.event.FocusAdapter()
    public void focusLost(java.awt.event.FocusEvent evt)
    if (table1.getCellEditor() != null)
    table1.getCellEditor().stopCellEditing();
    and then try to edit my table,as soon as I double click on any cell in the table,my setValueAt method in my Table Model is being called before I even edit the cells contents. The above code is in the same method in which I actaully create table1 i.e.createTable().
    Can anyone help?

  • How to fire "table change" once click other regions outside the table erea?

    I have a JTable created with DefaultTableModel. Usually the edit behavior of table cell is like this:
    1) Select one cell, it is highlighted in blue.
    2) Double click the cell, it's made editable with white background.
    3) Two scenarios
    (a) Once finish edit, press "Enter", the cell background turns from white to blue. At the same time, the table change is "fired" .
    (b) Once finish edit, click another cell, the originall cell turns white, and the new-clicked cell is highlighted in blue. At the same time, the table change is "fired".
    4) While editing one cell, and click somewhere OUTSIDE the table area. In this case, the table change is NOT fired.
    [This cause a confusion, user sees the changed text in table cell, but actually it is not stored and will not be stored in the table.]
    So what I want to implement is: once click the region outside the table, the text in that editabe cell (where you are just editing) is stored and fired.
    Can you help me? Thanks in advance!

    sabre150 & other experts,
    [see background in my first message]
    User is still not completely satisfied with the current behavior, though "table changed" can be fired when clicking other controls(eg. buttons or checkboxes).
    If I click a panel region(instead of a particular control), the "table changed" can not be fired. However, it is expected.
    I guess the reason is:
    a panel doesn't has a focus. so when clicking panel, the focus is not "lost" to the table cell.
    Any hints?

  • Grand total of 2 measures in pivot table

    Hi,
    I have a requirement to show in a pivot table in which there are 2 measures - Male_count and Female_count. In the column I have Age_group such as 20-30,30-40 etc. In the row I have grade like assistant, manager etc. The requirement is to show column subtotals - total male count & total female count as well the total no. of employees (F+M) across all age groups. Using the column total I get only the sub total part. How can i get the total part?
    Look forward to your inputs.
    Regards,
    J

    Grade
    25 and under
    26-40
    40-55
    55 and above
    Subtotal
    Grand total
    F
    M
    F
    M
    F
    M
    F
    M
    F
    M
    Manager
    0
    1
    1
    1
    2
    2
    3
    4
    7
    8
    14
    Assistant
    0
    1
    1
    1
    2
    2
    3
    4
    7
    8
    14
    Developer
    0
    1
    1
    1
    2
    2
    3
    4
    7
    8
    14
    Using OBIEE pivot features I am able to obtain upto the Subtotal but I am not getting the Grand total.
    Hope this pivot gives an idea of what I am trying to implement.
    Thank you.

  • Get Total of a Column of Advanced Table and use it in Controller in OAF

    I have an advanced table on my custom page. I am calculating total of a column in my footer. I am acheiving this using the standard functionality of advanced table by setting total value property of my column to "TRUE" and displaying the total in the tablefooter components.
    In addition to this I want to retreive the total value from my footer and use it in my Controller for further validations but I am not able to acheive this.
    I tried some code already present in the Community for the same but nothing turned out right for me.
    Can anyone please help me on this.

       Hi there ,
      You can manually add the values of each row of a  column and make use of the value obtained in your controller .
    Here is the logic ,
    1) get the vo instnace attached to that table .
    2) Loop through every single row in the table .
    3) get the value and sum up the value and use it in your controller .
    int fetchRowCount = vo.getFetchRowCount();  
    voRowImpl row = null;  
    int count =0;
    if (fetchRowCount  > 0) { 
    RowSetIterator iter = vo.createRowSetIterator("Iter"); 
    iter.setRangeStart(0);
      iter.setRangeSize(fetchBidderRowCount);
       for (int i = 0; i < fetchBidderRowCount; i++) {
      row = voRowImpl iter.getRowAtRangeIndex(i);
       //use RowImpl getters   10.   
             Number personId = row.getPersonId();
    count =personId+count;         // add each and every value and have in variable
    iter.closeRowSetIterator();
    Regards ,
    Keerthi

  • How do i find the total number of fields within all tables in one of my databases

    I'm in the process of creating some "gee whiz" metrics for one of my applications and want to find the total number of columns contained in its database.  Is there a stored procedure to get this information that would save me the effort
    of opening each of my 66 tables and counting the columns?  I also have the same question for my 138 views.  Thank you for any ideas you care to offer...............Phil Hoop
    Phil Hoop

    Hi Phil,
    Assumes SQL 2005 or higher
    Let 's try simple one ....
    SELECT COUNT(col.column_name), col.table_name
    FROM information_schema.columns col
    JOIN information_schema.tables tbl
    ON tbl.table_name = col.table_name
    AND tbl.table_schema = col.table_schema
    AND tbl.table_catalog = col.table_catalog
    AND tbl.table_type = 'VIEW'
    GROUP BY col.table_name
    Let me know if this will help you.
    If you think my suggestion is useful, please rate it as helpful.
    If it has helped you to resolve the problem, please Mark it as Answer.
    Varinder Sandhu www.varindersandhu.in

  • How to Hide rows in ALV without affecting total sum at the end of table?

    Hi,
    I need some help in hiding particular rows in an ALV Grid without affecting the total sum at the end of the table. I am trying to hide the rows that have negative quantities, but I still need those values so that the user can still compute for the total sums. Can anyone help? Thanks.
    Joseph

    Hi,
    Hopw this way you can hide the rows in the GRID.
    DATA:
      ld_column      TYPE lvc_fname,
      ld_hide          TYPE abap_bool.
    FIELD-SYMBOLS:
      <ls_entry>     TYPE any,
      <ld_fld>         TYPE any.
      ld_column = 'COL_1'.  " column which you want to suppress if everything is zero
      ld_hide     = abap_true.  " = 'X';  default hide column
      LOOP at <gt_outtab> ASSIGNING <ls_entry>.
        ASSIGN COMPONENT (ld_column) OF STRUCTURE <ls_entry> TO <ld_fld>.
        IF ( <ld_fld>   > 0 ).
          ld_hide = abap_false.  " display column because at least single value > 0
          EXIT.  " leave LOOP
        ENDIF.
      ENDLOOP.
      READ TABLE gt_fcat INTO ls_fcat
                           WITH KEY fieldname = ld_column.
      IF ( syst-subrc = 0 ).
        ls_fcat-no_out = ld_hide.
        MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
      ENDIF.
    hop you will get the total with for those columns too.
    Regards,
    Madhavi

  • Daily flow rate totals over several days displayed in Lookout 6.1

    I need to display running daily flow rate totals in lookout for several days. The expressions would be for "today", "yesterday", "two days prior" and "three days prior". I am using accumulators to do month to date totals and running averages. I am stumped as to how to accomplish the daily totals. This application is using Lookout 6.1.
    Thanks,
    Brad Adams
    Service Manager
    CommTech
    Email: [email protected]
    Phone: 615-889-4756
    Cell: 615-477-8975
    "Once you eliminate all other possibilities, what's left, however improbable, must be the solution"

    Look into the Sample object. You can trigger this object to log the daily value at midnite.
    Previous samples are retained as sample.2, sample.3 etc.
    Regards,
    Bob L

Maybe you are looking for

  • How to force links to open in a new tab everytime?

    Hi, I don't want to have to hold down buttons on my keyboard. When I click a link I wish it to always open in a new tab window like it does for me in internet exploder. How do I accomplish this in Safari? Thank you for your time.

  • Value Mapping in XI. Is it a curse or blessing?

    Dear Experts, We are using XI extensively for few B2B scenarios, we are using Value mapping in XI extensively to map the values of like Material,valuation type etc. We are not finding the value mapping user freindly to deal with as now the load is in

  • Not getting advertised internet speed

    It's been about 2 weeks since this problem started happening and I can't fix it no matter what I do. I'm currently on the Blast Plus package which should give me 105 Mbps down and 10 Mbps up, but I'm getting no where near that anymore. I used to hit

  • Online Store Purchase

    Sorry, I know this is the wrong forum to post this, but there's none that really fits what I need. I bought a keyboard from the Apple store online, and I received it today. It came in a large brown box. The keyboard is inside a smaller box. Does anyo

  • Populate collection type from XMLType

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production CORE     11.1.0.7.0     Production TNS for Linux: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Production Please bear w