Is it possible to sum across groups

Dear all,
I want to define a template for AP cash requirement report to sum amount to be paid by vendor. The XML tree structure is to first group by Due Date and then group by Vendor. Therefore, the invoices to be paid can be under different Due Date groups. My question is, is it possible to sum by Vendor name regardless which Due Date group (the parent group) it belongs to?
Thanks!
Sandy

Hi,
Seems the XML tree is not allowed to be posted here. Please find it in the link below. G_Date is a parent group of G_Vendor. I want to be able to sum by vendor regardless of the which G_Date group it is belonged to. Please advise. Thanks!
https://communities.oracle.com/portal/server.pt/community/view_discussion_topic/216?threadid=80778&aggregatorResults=T80778T79511T79424T78340T78009T76654T70958T47945T46834T45020&returnUrl=https://communities.oracle.com/portal/server.pt/community/discussions/209#80778

Similar Messages

  • Sum Across Group

    Hello!
    I am running into a curious situation with Reports and I have been unsuccessful in trying to resolve it. Here is the description. I have a group (Job Category) that has a subgroup (Gender) which has a subgroup (Salary Range). I am running the report to all sorts of totals to the effect of something like this:
    Job Category : Janitorial
    MALES
    10-20 K 0 0 15 20
    20-30 K 0 10 0 5
    FEMALES
    10-20 K 10 5 0 0
    20-30 K 5 10 0 10
    My problem is that because of the way groups are laid out, I cannot sum together the totals of MALE and FEMALE within the same salary range. For example, say I wanted to total all employees who make 10-20K in the Janitorial job class the total I want is:
    0 + 0 + 15 + 20 + 10 + 5 + 0 + 0 = 50
    My results currently come out as:
    0 + 0 + 15 + 20 = 35
    10 + 5 + 0 + 0 = 15
    They are separated by the group GENDER and I cannot sum these two together no matter what I seem to do. Any suggestions are welcome! Thank you!

    I'm not sure there's a way of doing it easily using Reports, but there's always the option of obtaining these figures via additional queries. These could either be queries as seen in the data model editor or (often simpler) formula columns whose formulae consist of database lookups via pl/sql.
    If you want these figures to come out for each salary range you may have a problem, since such formula columns would need to be placed into one of your groups and there doesn't seem to be an obvious place to put them with your existing group structure. If you put the salary range group above gender you could get it quite easily via a summary, but the question is whether this would allow the layout you're looking for? Probably not.
    These extra queries will make the report slower, but sometimes there's no alternative.
    HTH,
    Mike.

  • How to store the value of sum of group in Crystal Report at the runtime!

    Hello all,
    I creates a Formula Field that hold the value of Sum of Group in Crystal Report. I would like to know how to store it in a variable and pass it to store procedure. Is it an option in Crystal report to do it. I knew that Crystal Report can cache the report for sharing. My detailed issue as following:
    - Created a Formula Field named TOTAL AMOUNT that calculated the complex expression. This TOTAL AMOUNT is dynamic based on group and variables.
    - I would like to store that value from TOTAL AMOUNT and pass it to the stored procedure parameter IN.
    Any helps are much appreciated. Thanks.

    I doubt that this is possible since it would only calculate this value once the report has data.  This sounds more like a report design question that should be asked over [here|SAP Crystal Reports;

  • Matrix report with two across groups

    Hi all,
    I am facing a problem in making a multi line matrix report.
    actually I need to make a matrix report with two "across groups", but unable to get desired result.
    if any body has any idea, please share with me.
    regards
    Ata

    No,
    you must have only 1 query which extracts all your data:
    A,q1,10
    A,q2,20
    A,q3,30
    B,q1,40
    B,q3,50
    C,q2,60
    C,q3,70
    Open report builder and create a new report from wizard.
    Select the first option accordingly with your requirements and go next.
    Type a name for your report in the title field then select "Matrix" as layout and go next.
    Select SQL Query and go next.
    Type your query.
    Select the data you want on the rows (i.e. A, B, C...) and click on the ">" button in the Matrix Row Fields section, then go next.
    Select the data you want on the columns (i.e. q1, q2, q3...) and click on the ">" button in the Matrix Column Fields section, then go next.
    Select the data you want on the cells(i.e. 10,20,30...) and click on the "Sum >" button in the Matrix Cell Fields section, then go next.
    Add some totals, if you need them.
    Go next and finish.
    Now you have a report with the following layout:
             Q1           Q2            Q3       TOT
    A        10           20            30        60
    B        40                         50        90
    C                     60            70       130
    TOT      50           80           150       280Bye
    Raffy

  • Summing across columns

    Sorry, this is a very basic question that I haven't found the answer to when searching.
    I am setting up a basic table to keep track of business receipts.  I would like the total to be automatically filled in as I tab across the row.
    I have  Amount   Tax   Shipping     Total    after I fill in the columns, is it possible for the total to be automatically summed?
        ie        $10.00   $0.50                   $10.50
    I've tried a few ways, but have not gotten it to work on each row.
    Thanks
    - Jill

    Sure, you can sum across as easily as you can down. In this screenshot I used your figures & selected the three cells across & then dragged the sum shortcut to the last cell. You can then fill down with that formula by dragging the tiny circle.

  • How do I sum across the same table in multiple sheets?

    So I'm trying to figure out an annoying problem.
    I have a largish (100's) amount of data with each collection being a table in a sheet, one sheet per data collection. This means I have 100's of sheets, each with the same table name and layout. Each sheet has several hundred data points in it.
    How do I do a sum across all of the same table in all the sheets?
    For example I want to do Sum('Data Sheet Number *'::'Table 1'::A1) to get a sum of everything in all the A1 cells of all the sheets named 'Data Sheet Number ' followed by anything (I'm using the star in the same way one would do it in a shell...)
    Thanks!
    Message was edited by: unusedusername
    Message was edited by: unusedusername

    To respond to WWJD: I was handed the data and I don't have any control over it's format...
    I found the answer in the forums though, so I guess I'm answering my own question
    http://discussions.apple.com/thread.jspa?messageID=6203991&#6203991
    The auto-filling INDIRECT reference worked very well for me.

  • Is it possible to order a group by a different field

    I have a report that groups everything perfectly by Type.  The issue I am having is trying to order the values returned in each grouping by a different field in the returned data, it is a number.
    Is it possible to sort a group based on a field in the returned data, without having to create another group?

    Never mind, just made the the second field a sub group

  • Is it possible to run a group solve from the batch manager?

    I'd like to know if it is possible to run a group solve defined in OFA 11i that contains solve and copy data from the batch manager.
    Thank you
    Luigi Polverini
    Synesis s.r.l.
    null

    Problem: I have a Perl script in my AIR App's install directory that needs executable permissions on a Mac.
    Solution: Chmod the file in my AIR App.
    My code looks something like the following:
    if (Capabilities.os.indexOf("Mac OS") > -1) {       
                        var dlFile:File = File.userDirectory;
                        var _chmod:File = new File("/bin/bash");
                        dlFile = new File(file);
                        var nativeProcess:NativeProcess = new NativeProcess();
                        var chmodStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
                        chmodStartupInfo.executable = _chmod;           
                        var args:Vector.<String> = new Vector.<String>();
                        args.push("-c"); 
                         // Trace so I can make sure the command and path are correct in the debugger              
                        trace ("\"chmod ugo+x '"+dlFile.nativePath+"'\"");
                        args.push("chmod ugo+x '"+dlFile.nativePath+"'");
                        chmodStartupInfo.arguments = args;
                        nativeProcess.addEventListener(NativeProcessExitEvent.EXIT, onExitError );
                        chmodStartupInfo.executable = new File(file);                       
                        var process:NativeProcess = new NativeProcess();
                        process.start(chmodStartupInfo);  
    I really hope this helps someone else.

  • Is it possible to prevent a group of users be added into other groups?

    We have a admin group named "app admin" which has full privileges to a target OU "ou=apps,ou=services,dc=xxx,dc=com".
    And we are looking for solution to prevent members in the admin group putting their own account or group members into the target OU.
    Tried the aci with "deny self write", but it only prevents admin user put their own DN into the target OU.
    And they still can add their group members into the target OU.
    Just wondering is it possible to prevent a group of users be added into the target OU while they still can add/delete/modify normal users into the target OU?
    The version of our Directory Server is 6.3.1.
    Thanks

    goog,
    For each data member, you will need a unique URL. There is not a way to bundle them into one URL.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Is it possible to access a group of (sequentia​l) registers with a single URL?

    I'm testing out datasockets to an A-B RSLinx OPC server. At the moment, it appears as though each register in the PLC has to be accessed with an individual URL. Is it possible to access a group of (sequential) registers with a single URL? I suspect i may have to cluster a bunch of individuals together

    goog,
    For each data member, you will need a unique URL. There is not a way to bundle them into one URL.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Is it possible to lock account Groups of customers

    Hi,
    ist it possible to lock account Groups of customers? I don't want to delete some groups, because
    there some customers with this groups i want to lock, but i will avoid that there are new customers with
    this groups.
    Regards, Dieter

    Hi,
    Yes Basis Consultant will ristrict the authorization of creating certain Customer Groups as satish said.
    So Provide the List of Customer grps to Basis Consultant and ask him to ristrict to all the users.
    Regards,
    Padma

  • Sum Current Group With filter

    Dear All,
    I have problem to sum data using filter/conditon
    i want to sum data like this:
    No Budget SM GG
    1.2 *400 200*
    1.2.1 100 100
    1.2.2 200 200
    1.2.3 300 300
    1.3 400 400
    and using
    <?sum(current-group()/TotalPrice[.!='' and PaymentAllocation='GG'])?>
    but show no data
    i also tried
    <?xdoxslt:set_variable($_XDOCTX, ’INITGG’, xdoxslt:get_variable($_XDOCTX, ’INITGG’)
    +xdoxslt:ifelse(PaymentAllocation='GG',xdoxslt:ifelse(TotalPrice[.!=''],TotalPrice,0),0))?>
    but nothing happen, seem the code didn't recognized the group(have 2 group inside)
    Please help me
    Thank so much
    Regards
    Cecilia

    You can use <?sum(current-group()/TotalPrice[.!='' and ../PaymentAllocation='GG'])?>

  • Problem: Building an Across Group Report

    Hello all,
    I have an Across Group Report, but can't create a design / layout what i want (explained more detail as shown on the images).
    Current report when it's running:
    http://img259.imageshack.us/img259/750/01before.jpg
    The final layout that what i want:
    http://img9.imageshack.us/img9/1723/02after.jpg
    Environments:
    - Oracle Developer Reports 10g R2
    - Oracle Database 10gR2
    Anyone have an idea?
    Thanks.
    Best regards,
    Rob

    Hi,
    Can you please attached your layout Formate. Given Link is not working

  • Is it possible  to set purchase group in PR is optional

    Dear Guru,
    Is it possible to set purchase group in PR is optional field?
    Please advice. Thank you very much.

    Hi,
    It is very much possible:
    Follow this path:
    SPRO-Materials Management-Purchasing-Purchase Requisition-Define Screen Layout at Document Level-Double click on ME51N..
    Now double click on Basic Data, Item----
    Now in front of Purchasing group field...check the check box for Optional..and save it...
    Also you have to check
    SPRO-Materials Management-Purchasing-Purchase Requisition-Define Screen Layout at Document Level-Double click on NBB ( If you are using NBB as default Document type in PR)
    Now double click on Basic Data, Item----
    Now in front of Purchasing group field...check the check box for Optional..and save it...
    Now try..
    Cheers!!!
    Utsav

  • Is it possible to SUM 2 variables?

    I have to loop through some nodes that are laid out like so, then group based off the ATTRIBUTE_CAT while summing up their total amounts. Then i need to add specific ones up together. In the example I'm just showing 2, but there are 7.
    <G_INVOICE_NUM>
    <NAME>BOB</NAME>
    <ATTRIBUTE_CAT>UP</ATTRIBUTE_CAT>
    <AMOUNT>10</AMOUNT>
    </G_INVOICE_NUM>
    <G_INVOICE_NUM>
    <NAME>JOHN</NAME>
    <ATTRIBUTE_CAT>UP</ATTRIBUTE_CAT>
    <AMOUNT>5</AMOUNT>
    </G_INVOICE_NUM>
    <G_INVOICE_NUM>
    <NAME>JOE</NAME>
    <ATTRIBUTE_CAT>GP</ATTRIBUTE_CAT>
    <AMOUNT>5</AMOUNT>
    </G_INVOICE_NUM>
    So i go though and do this..
    <?for-each-group:G_INVOICE_NUM;ATTRIBUTE_CAT?>
    <?if:ATTRIBUTE_CATEGORY='UP'?>
    <?sum(current-group()//AMOUNT)?>
    <?xdoxslt:set_variable($_XDOCTX, 'UPTotalVar', xdoxslt:get_variable($_XDOCTX, 'UPTotalVar') + sum(current-group()//AMOUNT))?>
    <?end if?>
    <?if:ATTRIBUTE_CATEGORY='GP'?>
    <?sum(current-group()//AMOUNT)?>
    <?xdoxslt:set_variable($_XDOCTX, 'GPTotalVar', xdoxslt:get_variable($_XDOCTX, 'GPTotalVar') + sum(current-group()//AMOUNT))?>
    <?end if?>
    <?end for-each-group?>
    Now this might not be the best way to do this... but it's working, even setting the variables and retreiving them. But I can't seem to add the differerent variables together.
    I've tried various versions... the first 2 error out, the last one doesn't show me anything...
    <?sum(current-group()xdoxslt:get_variable($_XDOCTX, 'UPTotalVar')+ xdoxslt:get_variable($_XDOCTX, 'GPTotalVar'))?>
    <?sum(xdoxslt:get_variable($_XDOCTX, 'UPTotalVar')+ xdoxslt:get_variable($_XDOCTX, 'GPTotalVar'))?>
    <?xdofx:xdoxslt:get_variable($_XDOCTX, 'UPTotalVar')+ xdoxslt:get_variable($_XDOCTX, 'GPTotalVar')?>
    I thought about wrapping them with a to_number(), but i'm not sure about that syntax...
    Any ideas?
    Thanks,
    Jeremy

    Hi Jeremy ,
    You can do the same way used for setting and retrieving the elements, The one i tried is as below and worked fine, give a try and let me know if it suits you....
    <?xdoxslt:set_variable($_XDOCTX,'UPTotalVar',xdoxslt:get_variable($_XDOCTX, 'UPTotalVar') + xdoxslt:get_variable($_XDOCTX,'GPTotalVar'))?>
    and as the length constraint in Status Bar Tab, use the below code in the Help Key Tab of the form field..
    <?xdoxslt:get_variable($_XDOCTX, ’UPTotalVar’)?>
    this will display the total sum of both the variables..
    This is just an sample to run thru the variable additions,
    As you said your data file have 7 ones like this, you can implement a sub-template concept to achive it.
    All the best
    PBV.

Maybe you are looking for

  • [SOLVED] Unable to load GRUB on MacBook PRO with GPT partition

    Hi, I have made an install of Arch on my MacBook Pro. I have made the installation of Arch to work before but I decided to make a clean install since I changed WM. I have written down my instructions thoroughly and followed them like a slave. It work

  • Changing Mac Address/Static ip

    I recently bought an New iMac and Migrated everything over from my old mac. However I mistakingly migrated the Static IP address or MAC address from the old machine too! This is now giving me problems when trying to connect both machines to my networ

  • Missing Windows 8 disk partition in my Macbook(2.4Ghz Intel Core 2 Duo

    I was using Windows 8 for the last year or so and suddenly while booting I could not see the windows disk partition in the computer. How to resolve the situation

  • Have PSE10 installed on Acer. Can I install PSE10 on Mac also? [was:Photoshop Transfer]

    Hello! I currently have Adobe Photoshop Elements 10 installed on my Acer Aspire as well as Premiere Elements 10 as it came with my photoshop. I now have a Macbook Pro Retina (no disk slot) and was wondering if it is at all possible to put my photosho

  • Where Do I Find My Account Number

    Hi all! I am sorry if you have heard this question a thousand times, but I have now spent an hour trying to find out what my account number is and I cannot find it anywhere!  I am trying to port to a new phone with the Straight Talk plan and it asks