Display of Report Totals of different groups

Hi I have a requirement in XML Publisher where in I need to display the Total of all the sub totals of the 3 groups which i am currently working on. I am able to display the sub group totals .
Example
A B
100 200 -----------Group 1
C D
30 50 -------------group 2
E F
250 300 -----------Group 3
380 550 -------Required(Group1+Group2+Group 3)
How should i do it in XML.
Can any body help me in how to achive the above total group values.
Thanks
Suresh Singh

The month data is dynamic column. I am attaching a small portion of my XML data.This is part of G1 and G9 for the month of APR-05.There can be more than one entry for APR-05 based in the value of G_POWER_STATION.
similarly there are other months. For each group I am using the sum on current group for ENGY_SCHD,RATE and AMT_RECO, which gives me the group total for each month. Same case for G_9
I want to add SUM(G_1-APR-05-RATE) to SUM (G_9-APR-05-RATE_UI,
Similarly others
<G_1>
<BILLING_MTH>APR-2005</BILLING_MTH>
<LIST_G_POWER_STATION>
<G_POWER_STATION>
<POWER_STATION>FSTPP</POWER_STATION>
<ENGY_SCHD>8342</ENGY_SCHD>
<RATE>8.08</RATE>
<AMT_RECO>9000</AMT_RECO>
</G_POWER_STATION>
</LIST_G_POWER_STATION>
</G_1>
<G_9>
<BILLING_MTH3>APR-2005</BILLING_MTH3>
<LIST_G_UI_>
<G_UI_>
<UI_UNITS>110</UI_UNITS>
<UI_PAID>299</UI_PAID>
<RATE_UI>2.72</RATE_UI>
</G_UI_>
</LIST_G_UI_>
</G_9>
I tried using <?sum(//ENGY_SCHD[../BILLING_MTH='APR-2005'])?> but it gives me zero as the ouput.If i remove the square braackets it adds the entire occurence of ENGY_SCHD.Am i doing it correctly
Message was edited by:
DhavalKatira

Similar Messages

  • Display report in horizontal after grouping

    Dear experts,
    I have done a REPORT 1 such as below, but i would like to display as REPORT 2. Is it possible to do it?
    If yes, How to do? Using what tools in crystal report?
    REPORT 1:
    Export (Group)
    Date            DocNo.         Amount                 
    23.3.10       100001           348.00
    23.3.10       100002         3271.00
    Local (Group)
    23.3.10       100003          356.00
    23.3.10       100004         3290.00
    REPORT 2:
    Export (Group)                                       Local (Group)
    Date            DocNo.         Amount           Date             DocNo.         Amount
    23.3.10       100001           348.00           23.3.10       100003          356.00
    23.3.10       100002         3271.00           23.3.10       100004         3290.00
    Your reply is higly appreciated.
    Thanks.
    Regards,
    Danny

    Hi Carl,
    I also get the result as followed your solution. But i facing a problem, i can't get the both total  local and Export display in nicely, it is due to the unbalance for local sales and export sales. e.g.
    Local                                    Export
    Date      Inv#      Amount     Date      Inv#      Amount
    12.3.10   002     345.00       12.3.10   001     345.00
    13.3.10   003    1345.00      12.3.10   001     345.00
    14.3.10   004    1345.00      _____________________
    15.3.10   007    1345.00                                690.00 <- IS IT POSSIBLE MOVE TO SECOND PAGE EVEN THE DATA IS NO FULL?
    16.3.10   008     1345.00                                                To display is nice report.
    17.3.10   010     345.00
    18.3.10   001     345.00
    19.3.10   001     345.00
    23.3.10   001     345.00
    24.3.10   001     345.00
    25.3.10   001     345.00
    25.3.10   001     345.00
    Total                   8140.00 <- THIS WILL MOVE TO SECOND PAGE IF FIRST PAGE IS FULL, IT IS OK.
    The report which i want to display.
    Local                                    Export
    Date      Inv#      Amount     Date      Inv#      Amount
    12.3.10   002     345.00       12.3.10   001     345.00
    13.3.10   003    1345.00      12.3.10   001     345.00
    14.3.10   004    1345.00   
    15.3.10   007    1345.00                         
    17.3.10   010     345.00
    18.3.10   001     345.00
    19.3.10   001     345.00
    23.3.10   001     345.00
    24.3.10   001     345.00
    25.3.10   001     345.00
    25.3.10   001     345.00
    Total                   8140.00     Total                   690.00
    Thanks.
    Regards,
    Danny

  • How can we hide Report Total in Grouping report

    Hi
    I have used the APEX grouping functionality to display the Total by group on a particular Column.
    How can Hide report total value.
    Example:
    GL
    Company Location      Cost Center      Period      Value
    30      000           000           Jan-07      4,182,826.00
    30      101           000           Jan-07      11,943,060.00
    30      102           000           Jan-07      14,238,137.00
    30      103           000           Jan-07      19,057.00
    30      104           000           Jan-07      2,595,799.00
    30      105           000           Jan-07      165,943.00
    30      106           000           Jan-07      741,256.00
    40      000           000           Jan-07      1,058,768.00
    40      101           000           Jan-07      201,323.00
    40      102           000           Jan-07      20,795,876.00
    40      103           000           Jan-07      10,131,660.00
    40      106           000           Jan-07      5,474.00
    Source Total:                     66,079,179.00
    Inventory
    Company Location      Cost Center      Period      Value
    30      000           000           Jan-07      4,156,905.00
    30      101           000           Jan-07      11,943,062.00
    30      102           000           Jan-07      14,238,037.00
    30      103           000           Jan-07      19,057.00
    30      104           000           Jan-07      2,595,799.00
    30      105           000           Jan-07      165,943.00
    30      106           000           Jan-07      741,257.00
    40      000           000           Jan-07      1,016,777.00
    40      101           000           Jan-07      203,659.00
    40      102           000           Jan-07      20,779,260.00
    40      103           000           Jan-07      10,075,212.00
    40      106           000           Jan-07      5,474.00
    Source Total:                     65,940,442.00
    Report Total :                     132,019,621.00
    How can Hide "Report Total" label and its corresponding value.
    Regards
    Kiran Akkiraju

    Hello Kiran,
    Please check if the following can help you - Re: Break formatting and number format of SUM value
    Regards,
    Arie.

  • Merging Different Reports and Sort by Groups

    Hi everyone,
    I am merging two different reports by using the "sub-report" function, but wanted to know if I can sort the primary report and the sub report by groups once they are merged?
    For example, the Primary report and the sub report share the same group names, in this case, company names.  However each report represent different data, one for sales performance of all the sales person within the company, and another are sales accounts maintained by the company.
    Ideally, I'd like to see the primary and sub report display the sales account data and sales performance data in one place so I can print them out in packages sorted by company names.   Currently, I am having to print out both reports separately and compiling the printouts manually (Very Tedious!).
    Thank You in advance!
    Frank

    Hi,
      In the case you can try linking main report with sub report using the group field. Right Click on sub report > change sub report link > select the field from main report and link  it to the sub report group field.
    Regards,
    Vinay

  • How to display the header data on different position in alv report

    hi all,
    how to display the header data on different position in alv report.
    for example ,
    customer                                                   name
      xxxx                                                         xxxx
                     vendor        name     street 
                      xxxx         xxxx      xxxxx
    pls   help me .

    hi
    as per my understanding you need to trnasfer header internal table data  to pdf..
    please check the following links for internal table to pdf..
    Convertion of Internal table data to PDF
    This link is related to ur issue
    Re: how to insert the calling of the FM: OTF to PDF
    Thanks

  • Is it possible to deploy 2 SCOM 2012 R2 reporting in a SQL server which already has SCOM reporting of a different management group but with 2 different reporting instance.

    Hi Experts,
    I have a typical situation in the LAB environment. Hope some one helps. I have Installed a SCOM 2012 R2 with SQL 2012 SP1 in a single server (Management group 1). I have installed another management group on another server using this SQL server for its database
    so i have everything going fine.
    The first management group has its reporting installed in the SQL server. For the second i created a new named instance for that. But i cannot run the SCOM setup in the SQL server (Also holding the Management group 1 MS) as 1 st reporting is already there.
    When i run the setup it is asking me to repair it. I don't get the install option so i can install the reporting for management group 2 in the named instance.
    Default instance is being used by the 1st management group.
    Can any one figure a possibility for installing 2 SCOM reporting services for different management groups in a same SQL 2012 server please.
    Gautam.75801

    Hi Yan Li,
    Thank you for the reply. So as you are aware If i need to instal reporting, i need to run the SCOM 2012 R2 setup in the SQL server and select reporting and select the
    instance and then mention the management server there right. I am not getting that option there it is asking me to remove or repair the existing installation as there is already a SCOM entire setup including reporting there. As it is a lab there is no problem
    in testing. I have 2 reporting instances. Any suggestions for me on how to overcome this issue and deploy the second reporting in the new named instance ?
    Below is the screenshot of the error what i am talking about when i run SCOM 2012 R2 setup to install reporting in the SQL server
    When i click on add feature reporting is greyed out (As already 1st management groups reporting is installed)
    When i click on remove or repair it
    uninstalls the existing one. But i want both SCOM 2012 r2 reporting to be there(For both Management group). Is it possible ? If yes What is the trick to run the setup ?
    Gautam.75801

  • Is it possible to create group above report between to different data model

    Hi,
    I am having one problem.. I am working on Bi publisher 10...
    I have to create 2 different data models.. which i have done successfully.... its showing xml data perfectly.. but my problem is i want my 2nd data model to be dependent of 1st model...
    when i am designing my template ... i am not able to create a group by report..
    i want my report like this ...
    ------------------------------------------------------------ (fetching data from first data model)
    abc xyz pqrs
    --------------------------------now their it must show the data from second data model... dependent on first model...
    simply i want to know is it possible to create group above report between to different data models..

    Thanks for your response..
    I already tried this.. But its not working ..
    i want parent information from data model 1
    then all detail information related to parent template ...from data model 2..
    but its not working.. its giving me all parent informations first then all details informations..

  • In ALV  grid  report, totals of columns display at end of report

    Hi.....!
           In ALV report i want to display grand totals in end of list and also i want to output display ALV report in page by page

    Hi,
    this the code i am sending it may help you.
    DATA : wa_sort TYPE slis_sortinfo_alv.
    DATA : it_sort TYPE slis_t_sortinfo_alv. " for sorting
    PERFORM sub_total USING '<field based on wich you want sort(say key field>>'.
    FORM sub_total USING value(p_sortfld) .
      wa_sort-fieldname = p_sortfld.
      wa_sort-subtot = 'X'.
      wa_sort-up = 'X'.
      APPEND wa_sort TO it_sort
    and then is main function module for display grid or list.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program     = wa_pgm
            i_callback_top_of_page
            ='TOP_OF_PAGE'
            i_grid_title           = text-016
            it_fieldcat            = it_fieldcat
           <b> it_sort                = it_sort</b>
            i_default              = 'X'
            i_save                 = 'A'
          TABLES
            t_outtab               = it_final.

  • How can I get the second group and report totals in Matrix report?

    Hi,
    I have created a matrix report with 2 break Groups.
    Iam getting columns totals for the first group, but not for the second group and the report totals.
    How can I get the second group and report totals for each month?
    Thanks.
    Ram.

    Hi Ram,
    If you want a total at any group-level, go to the particular group in the data model, insert a summary column in the group, and select
    Reset At > appropriate Group Name
    For report level summaries, you must create the summary column outside of all groups.
    Navneet.

  • MATRIX WITH GROUP     (REPORT TOTAL PROBLEM)

    DEAR FRIENDS,
    I HAVE A PROBLEM IN GROUP ABOVE MATRIX IN THE REPORT TOTAL.
    THE SCENARIO IS THIS...
    VEHICLE : CAR
    ----------------------- WEEK1 WEEK2 WEEK3 TOTAL
    ESTEEM 10 30 40 80
    ZEN 30 40 10 80
    DELUX 40 30 10 80
    SUB TOTAL 80 100 60 240
    VEHICLE : VAN
    ----------------------- WEEK1 WEEK2 WEEK3 TOTAL
    OMNI 10 30 40 80
    OMNIDX 30 40 10 80
    OMNILX 40 30 10 80
    SUB TOTAL 80 100 60 240
    GRAND TOTAL 160 200 120 480.
    IN THIS VEHICLE IS THE GROUP AND WEEK1,WEEK2... IS MATRIX COLUMNS AND ZEN,ESTEEM IS MATRIX ROWS.
    I AM UNABLE TO INCORPORATE THE GRAND TOTAL IN THIS TYPE OF REPORT. I AM USING 10G VERSION 9.0.4.
    PLEAE TELL ME HOW TO DO THAT.
    THANKS
    VENKY.

    If you got your subtotals to work than getting your grand total shouldn't be difficult at all. Your grand total column summaries should be one grouping above where your subtotal column summaries reside. I am guessing this will put them at the report level. Meaning they will not be in a group, just free floating in your data model. Good luck.

  • PPR Report ,How to display Label with TOTAl

    Hi,
    How Can i display PPR Report ,How to display Label with TOTAl like
    [http://apex.oracle.com/pls/apex/f?p=267:30:]
    Thanks
    Edited by: 805629 on Jan 6, 2011 3:34 AM

    Hi,
    For PPR Report:
    Select "Yes" in "Enable Partial Page Refresh" item of "Layout and Pagination" region in Report Attributes of that report.
    For display Label with TOTAL:
    Use "Break Formatting" region in Report Attributes of that report.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • My contacts are organized in different groups. An iPhone trade show app (Vinexpo) displays exhibitors infos and allows to create new contacts. Is there any way to save a new contact in a specified group instead of the contacts root? Thks in advance

    My contacts on my iPhone are organized in different groups. I have downloaded a trade show app which gives infos on the exhibitors of the show. It offers to create new contacts from these info. Is there any way to save these new contacts in a specified group instead of putting them into the contacts root, where they are mixed with all the old ones? By the way, can we create a new contacts group directly from the IPhone, without having to go through the sync process with the PC?
    Thanks a lot in advance

    Sorry, I forgot to bookmark the thread where the app was mentioned, but searching for "group" or "contacts" should bring a few results in the AppStore.

  • How to display subtotal description depending on the group name in ALV

    Hi,
    In my ALV report, i need to display with different descriptions for each subtotal text and i dont want to do any subtotal for the  final group.
    EX:-
    groupId Material numbers
    1 1
    1 2
    1 3
    1 4
    total of first group (Subtotal text)
    Group id Material numbers
    2 1
    2 2
    2 3
    2 4
    total of the Second group (subtotal text)
    3rd group i dont want to do any subtotal.
    Please help me how to do this one.

    Hi,
    I think standard ALV couldn't satisfy the requirements, unless there are some methods I don't know. But I am thinking of using ABAP list or form to display the report.
    Regards,
    Teddy Kurniawan

  • How to show the break totals and NOT the report totals in an SQL report

    APEX 4.0.1
    In an normal SQL report (Not interactive) with a break applied on the first column, how do you just show the break totals and NOT the extra full report totals?
    Next, Is it possible to display only some of the row totals and not for all columns that have the sum option checked against them?
    PaulP

    PaulP wrote:
    APEX 4.0.1
    In an normal SQL report (Not interactive) with a break applied on the first column, how do you just show the break totals and NOT the extra full report totals?Instead of using the APEX break feature, try doing all of this in the query using <tt>GROUPING SETS</tt> or <tt>ROLLUP</tt> to get the break rows, and <tt>GROUPING_ID</tt> in the <tt>HAVING</tt> clause to suppress the unwanted rows.
    Next, Is it possible to display only some of the row totals and not for all columns that have the sum option checked against them?Don't really understand what's meant here?

  • Matrix report not printing report totals

    I've created a 'Matrix with Group' report using the wizard that works great. It prints the sub-totals for each product at the end of each group, but won't print a grand total for each product at the end of the report - just displays a grand total for all products. I've tried many ways to try to add a report total for each product but get the annoying below frequency/bad product order errors. I'm using builder 9.0.4.0.33

    I've created a 'Matrix with Group' report using the wizard that works great. It prints the sub-totals for each product at the end of each group, but won't print a grand total for each product at the end of the report - just displays a grand total for all products. I've tried many ways to try to add a report total for each product but get the annoying below frequency/bad product order errors. I'm using builder 9.0.4.0.33

Maybe you are looking for

  • Font Problems with Safari

    I've been trying to fix this font problem I'm haveing. I go someplace like ebay and most of the fonts are fine but some fonts are not the ones I want. And when I go to the perfences nothing happens. Then I go to the font book and I can't find the fon

  • Error during "Process Flow" deployment

    Hello everyone, I am having trouble deploying my first "Process Flow" object. I am using OWB 9.2 and WF 2.6.2 on Windows XP. Here is the error I am getting: RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database

  • Can each page of an indesign booklet have its own set of layers

    i am very VERY VERRRRRY new to indesign. i was basically thrown into the program to keep the project from sinking when a designer quit on me! so im trying to give each page of my catalog its own set of layers. is this even possible. right now the lay

  • Dynamic Link Media Server error - lost video reference file and can't replace

    I've had this problem twice in the last 4 days and both times it's coincided with an internet drop-out in the office. I've imported an uncompressed QT .mov into Audition CC, splitting the video and audio tracks, and added both to a multitrack session

  • I am unable to open new Tabs (version 3.6.23)

    Ive tried clicking on the + to open a new tab, but it wont. Ive tried following the directions from a previous post, but I dont have the Ask toolbar loaded on my browser