How to Sum the datafield of a sub-group?

Post Author: [email protected]
CA Forum: General
Hello guys,
I am having this issue that I want to only Sum the datafield at sub-group level, not the detail level. But when I do the sum, it is adding all the details. The reason I am having this is because I have somewhat duplicated details (they complement each other). I merge them using group (by Item). The Item QTY is the feild that they all have and they have the same value, but I only need one of them. Now I want to group them by order number and show the total of items I ordered. I Sum all the items' QTY, but instead of sum the QTY that's merged, it sums all the QTY from detail. Basically I am suming duplicate numbers.
Is there any solution to this? Thank you.

Post Author: [email protected]
CA Forum: General
Hello Jagan,
Thank you for the help. I treid the Average running total, but the problem is that I cannot do Summary on those new fields on the parent group. Also I can't get rid of the dupliate because the singel record does not contain enough info, I need all the records to merge togather to collect all the required inforamtion. Before I will just created a merged view on my DB to get rid of duplicate records. But this time, I am linking too much tables (includes external server DB table) that I can't make a view for that.
Basically I have an order that splits into multiple invoices that get shipped using an external server where the Actual Ship Date does not write back to our own ordering system. I am trying to see if all my items are ship on time. So I need to merge all the items QTY from invoices that linked with external shipping DB, and group them in one order.
The main problem I have is that I can't do summary on many custome fields. I can made the correct amount using Formula Field that has a shared flag to not include duplicate numbers. But once I use the shared flag, the forumla is no longer useable by Summary.
Anyway, I think I will just use Excel instead. I already have all the proper data, just that when I do group summary in Crystal, it becomes a problem. I will export the data and do analysis from there.
Thank you for the help

Similar Messages

  • How to sum the column in a table seperated by sign.

    How to sum the column in a table separate by sign.
    For Example:
    A B
    10 MOHAN
    -15 KUMAR
    -25 MARCH
    50 MAY

    SELECT  SUM(CASE SIGN(A) WHEN 1 THEN A ELSE NULL END) SUM_POSTIIVE,
            SUM(CASE SIGN(A) WHEN -1 THEN A ELSE NULL END) SUM_NEGATIIVE
      FROM  tbl
    /SY.

  • How to get the parent window in sub-child controller class in javafx?

    how to get the parent window in sub-child controller class in javafx?

    You can get the window in which a node is contained with
    Window window = node.getScene().getWindow();Depending when this is invoked, you might want to check the Scene is not null before calling getWindow().
    If the window is a stage that is owned by another window, you can get the "parent" or "owner" window with
    Window owner = null ;
    if (window instanceof Stage) {
      Stage stage = (Stage) window ;
      owner = stage.getOwner();
    }

  • How to ZIP the files and folders/sub folder files using java

    HI All,
    I'm New to this Forum, Could anybody tell me how to zip the files and folders/sub folders using java. For example I have a folder with the name testfolder and side that folder I have some files and some sub folders inside subfolders I have some other files. I need to ZIP the files and folders as they are in same hierarchy.
    Any pointers or help wolud be appritiated.
    Thanks,
    Rajeshbabu V

    [http://www.devx.com/tips/Tip/14049]

  • How to logon the j2ee engine with logon group

    hi everyone,
    I have installed an HA j2ee engine system with MSCS.
    But i donot know how to logon the DI&CI with logon group like ABAP system
    Thanks very much
    Regards
    Peter

    http://help.sap.com/saphelp_nw70/helpdata/EN/b5/e8239ef7bd494f896a84625d4b688f/frameset.htm

  • How do I set up a new sub group email on the macbook ?

    I will begin by freely admitting that I am not computer literate...I switch on and use. The present email has been in existence for so long I can't remember how it was set up, think the laptop did it by itself.
    The problem...
    I want to set up a sub group email address for the small club that I am treasurer for and then use this so members can pay subscriptions via paypal.
    I followed the yahoo instructions to set a new email address and this was OK, the address is shown at the foot of the my account page on yahoo as the only sub group. ISP is BTinternet.com so that uses yahoo.
    Easy so far.
    Remember opening sentence !
    How do I set up my existing email page to show when a message has been received on the new sub group email. I use macmail on a macbook , not PC outlookexpress. In other words, how do I open/access/show this new email on the macbook ? I don't want to compromise the existing email set-up, just have a 'secondary' or 'sub group' account.
    Thanks
    Brian

    Yes, you just setup another account in Mail, on the Second page where it has Description you need another Name in there than the Other one has.
    http://email.about.com/od/macosxmailtips/qt/access_aol.htm
    Message was edited by: BDAqua

  • How to Sum the intervals

    Sir,
    I would like to use the SUM function in summing the intervals like this statement:
    SELECT
    DATE_VALUE,
    DAY_NAME ,
    SUM(CAST(TIME_OUT as time) - CAST(TIME_IN as time)),
    EMPLOYEE_ID
    FROM [table name]
    WHERE
    [where clause]
    GROUP BY
    DATE_VALUE,
    DAY_NAME ,
    EMPLOYEE_ID ;Please note that: TIME_OUT, TIME_IN is timestamp;
    But there is an error while executing this statement:
    SUM(CAST(TXN_OUT as time) - CAST(TXN_IN as time)) ,
    ERROR at line 9:
    ORA-00932: inconsistent datatypes: expected NUMBER got INTERVALSo, how can I do sum for intervals.
    Thank you in advance.

    I am certain noone is looking for the ytom interval equivalence, but I liked to post it...
    select numtoyminterval(
        sum(
        (   to_number(to_char(timestamp '3000-01-01 00:00:00' + x,'YYYY'))-
            to_number(to_char(timestamp '3000-01-01 00:00:00','YYYY'))
        ) * 12 +
            to_number(to_char(timestamp '3000-01-01 00:00:00' + x,'MM'))-
            to_number(to_char(timestamp '3000-01-01 00:00:00','MM'))
         , 'MONTH')
    from
    (select numtoyminterval(11, 'month') x from dual union all select numtoyminterval(1, 'year') from dual union all select numtoyminterval(100, 'year') from dual);
    +000000101-11

  • How to find the version, release and sub release of HFM

    Dear
    Need to check what exactly is the version, release and sub release of HFM.
    I have only the information that is 11.1.2.1. xxxxx
    I want to find out x
    How can I get?
    thank you

    I got it to run using Celvin method (using the JRE not the JDK).  The JDK method threw back the following(E:\Oracle\Middleware\EPMSystem11R1\OPatch>opatch lsinventory -oh E:\Oracle\Middleware\EPMSystem11r1 -jdk E:\"Program Files (x86)"\Java\jdk1.7.0_17\bin
    Files was unexpected at this time)
    The method below worked:
    E:\Oracle\Middleware\EPMSystem11R1\OPatch>opatch.bat lsinventory -jdk E:\Oracle\
    Middleware\jdk160_35
    Oracle Interim Patch Installer version 11.1.0.9.9
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.
    Oracle Home       : E:\Oracle\MIDDLE~1\EPMSYS~1
    Central Inventory : E:\Program Files\Oracle\Inventory
       from           : n/a
    OPatch version    : 11.1.0.9.9
    OUI version       : 11.1.0.9.0
    Log file location : E:\Oracle\MIDDLE~1\EPMSYS~1\cfgtoollogs\opatch\opatch2013-09
    -24_15-03-36PM_1.log
    OPatch detects the Middleware Home as "E:\Oracle\Middleware"
    Lsinventory Output file location : E:\Oracle\MIDDLE~1\EPMSYS~1\cfgtoollogs\opatc
    h\lsinv\lsinventory2013-09-24_15-03-36PM.txt
    Installed Top-level Products (2):
    Oracle EPM System                                                    11.1.2.3.0
    Oracle WebTier and Utilities CD                                      11.1.1.7.0
    There are 2 products installed in this Oracle Home.
    There are no Interim patches installed in this Oracle Home.
    OPatch succeeded.
    E:\Oracle\Middleware\EPMSystem11R1\OPatch>
    **This is the actual file contents. **
    --------------------------------------------------------------------------------Installed Top-level Products (2):
    Oracle EPM System                                                    11.1.2.3.0Oracle WebTier and Utilities CD                                      11.1.1.7.0There are 2 products installed in this Oracle Home.
    There are no Interim patches installed in this Oracle Home.--------------------------------------------------------------------------------

  • Using a canvas as an itemrenderer - how to access the datafield?

    Yes... another ItemRenderer related question...
    So I have this advancedDataGrid of which I dynamically
    generate the columns in actionscript. Each of these columns get
    their own datafield.
    This code works well, since all the data displays nicely
    where I want it to be.
    However, in the columns there are numbers from like 0 to 10,
    these are put there by the default itemrenderer by using the
    datafield. Instead of just displaying these numbers, I'd like to
    use a canvas as an itemrenderer to draw something in the box based
    on the value of the number. So all I need to access in my Canvas is
    the value that is parsed by the datafield.
    I thought to do so by overriding public function set
    data(value:Object):void
    But what does value contain? I tried doing something with it
    but I keep getting errors. Does value just contain the entire
    dataProvider? Or is there a way to acces just the number that would
    be put on that position in the grid if I wouldn't be using a custom
    itemrenderer at all?
    I've searched tons of blogs but haven't found the exact
    answer to my question yet.
    Many thanks in advance.

    "Lvw2000" <[email protected]> wrote in
    message
    news:gnucks$8kh$[email protected]..
    > Yes... another ItemRenderer related question...
    >
    > So I have this advancedDataGrid of which I dynamically
    generate the
    > columns in
    > actionscript. Each of these columns get their own
    datafield.
    >
    > This code works well, since all the data displays nicely
    where I want it
    > to be.
    >
    > However, in the columns there are numbers from like 0 to
    10, these are put
    > there by the default itemrenderer by using the
    datafield. Instead of just
    > displaying these numbers, I'd like to use a canvas as an
    itemrenderer to
    > draw
    > something in the box based on the value of the number.
    So all I need to
    > access
    > in my Canvas is the value that is parsed by the
    datafield.
    >
    > I thought to do so by overriding public function set
    > data(value:Object):void
    >
    > But what does value contain?
    It contains the information needed for the entire row. Just
    put a break
    point in the code in your override function and then run the
    application in
    debug mode. Use the variables window to inspect the value.
    > I tried doing something with it but I keep
    > getting errors.
    Are the errors related to the value or are they related to
    something else,
    such as trying to set properties on subcomponents that have
    not been
    instatiated yet.
    > Does value just contain the entire dataProvider? Or is
    there a
    > way to acces just the number that would be put on that
    position in the
    > grid if
    > I wouldn't be using a custom itemrenderer at all?
    Look at implementing IDropInListItemRenderer and then look at
    listData.label.
    HTH;
    Amy

  • How to sum the  result rows at query designer

    Hi,
    We want to sum  the result rows which are at the end of the row by the help of query designer?So ,we directly see at analyzer
    exp:
       ..A.jan...A.feb...B.may...B.jun...SumA...SumB....SumA+B
    X..1............9..........6..............7........10.........13..........?????
    Edited by: zarata on Oct 23, 2011 12:49 PM
    Edited by: zarata on Oct 23, 2011 1:07 PM

    Hi,
    Could you please provide some more information.
    if you have characteristics iobject whose values are (A, B etc) and calendar month in rows and then at column level you have key figures then if you have turn on the "Display Result Rows" property of both iobject in Bex  as "Always" you can get the result. At the same time you can set "Display Overall result" property of the Query to get overall result.
    Regards,
    Pravin

  • How to sum the value of "N/A"

    I am new to javascripting and am trying to solve a problem with little success. Can anyone help. This is the situation:
    I am using Acrobat Pro 11 and I have created a form. I have 36 dropdown fields that for example have the following choices N/A, 5, 0 - I want to sum the value of all the N/A choices.  The value of each N/A is the largest number in the field. In my example it would be 5. I can assign a value to each N/A or the formula could look for the largest number in that dropdown field and add them together.
    Thank you in advance for any help you can provide.

    It's not possible. However, I can think of a couple of
    workaraounds:
    - Insert the value from the GLOBAL into the table that the
    trigger is on
    - Create a server-side package, declaring a variable in the
    package header. Assign the GLOBAL to the package variable before
    doing the commit on the Form.

  • How to do the ALV report output in groups and caluculate the tOTALS(URGENT

    Hi
    In my ALV report output .I have to group the output based on the DAYS field
    0-10 days in one group
    10-30 days in one group
    above 30 days one group
    There is also a field by name "AMOUNT" in my output.
    I have to calculate SUBTOTALs at the end of every group and at the end of the report i should caluculate GRAND TOTAL.
    Please remember that i should not use any any BLOCKED ALVs and for Totals i should not use the SYMBOLS provided in the application toolbar of the report
    Thanks in Advance

    Please don't repost your questions...
    Check out my answer in your other post.
    How to make the ALV report in groups  and caluculate the TOTALS
    Regards,
    Naimesh Patel

  • How to transfer the tables from one file group to another file group in SQL 2008.?

    Hello all,
    I have few issues regarding the transfer of the tables from one file group to another file group  in SQL 2008 and also How can we  backup
    and restore the particular database based on file group level.
    Let’s say I have a tables stored within the different FG. such as
    Tables                                                    
      File group
    Dimension tables                                              
                                                                     Primary
    Fact tables                                               
                                                                              FG1
               FG2…
    zzz_tables                                               
                                                                              DEFAULT_FG    
    dim.table1                                                                                                                          DEFAULT_FG
    dim.table2                                                                                                                          DEFAULT_FG
    Here all I want to transfer the dim.table1 ,dim.table2  from  DEFAULT_FG to the Primary File
    group .So is there simple methods for transfer the dim.table1,2  from one FG to another .I have tried somewhat but I couldn’t get the exact way .So if someone have better idea please share your knowledge that would be really appreciated.
    Secondly after moving those dim.table1 ,dim.table2 from DEFAULT_FG to Primary ,All I want to backup and restore the database only containing  the Primary and FG1,FG2… not
    a DEFAULT_FG.Is it possible or not.?
    Hope to hear from the one who knows better approach for this kind of task .Your simple help will be much appreciated.
    Regards,
    Anil Maharjan

    Well after all my full day research on this topic had paid off, I finally got the solution and am so happy to research on these things. It makes
    us feel really happy after all our research and hard work doesn't goes as waste.
    Finally I got what I am looking for and want to make sure that I am able to transfer the tables from DEFAULT_FG to another FG without tables
    having clustered index on that tables .
    With the help of the link below I finally got my solution where Roberto’s coded store procedure simply works for this.
    Really thanks to him for his great post and thanks to all for your response and your valuable time.
    http://gallery.technet.microsoft.com/scriptcenter/c1da9334-2885-468c-a374-775da60f256f
    Regards,
    Anil Maharjan

  • How to stop the sending attachment through mail group policy

    HI ,.,,,
           Our employees using the gmail and yahoo accounts sometimes . Due to security issues they dont send attachements how is possible to deny sending attachments in group policy
    ranki

    Hi,
    How do your employees using their personal mailbox? If they access it via Outlook, please refer to the suggestions Maffiow provided. If they access it via IE, we could not prevent them attaching
    file to their mailbox via Group Policy. As a workaround, you may prevent them accessing the third party mailbox webpage via Group Policy.
    For details, please refer to the following article.
    How to use Group Policy to Allow or Block URL’s
    http://www.grouppolicy.biz/2010/07/how-to-use-group-policy-to-allow-or-block-urls/
    Hope this helps.
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • How to set the Default Dashboard for a Group

    Hello,
    we have, in our project, two groups defined in the dashboard; How can we set the Default Dashboard for each Group?
    Actually every user of both groups at logon views the "my dashboard" page.
    Thank you

    hi
    check this http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html
    also this..
    http://bvellinger.blogspot.com/2008/04/default-dashboard-obiee.html

Maybe you are looking for

  • Im based in qatar. can i buy a macbook pro online and have it shipped to a relative in california?

    im based in qatar. can i buy a macbook pro online and have it shipped to a relative in california?

  • UIX lists

    I'm developing a UIX BC Application using J Developer. I want to create a choice list providing the attribute values (attrValue) for a specified attribute name (attrName). I want to create the following type of list in my UIX page: <bc4j:rootAppModul

  • Apps will not launch in Windows 8

    I have tried the suggestions in the discussion area but in Win8 there is no Start function. How do you launch an application in Windows 8?

  • 7.1 SLD-LMBD. Advice needed: duplicated entries for SAP systems

    Hi Experts, I've noticed few duplicate entries that appear in SOLMAN 7.1 during the content synchronization from SLD to LMDB and migration from SMSY to LMDB. For instance: I already had CRM syetem in Solution Manager: CRD After the SLD-SMSY-LMDB sync

  • BRS Exchange Rate

    Hi, while running auto BRS system captures current exchange rate instead of exchange rate on posting date. Please suggest the way. Regards,