Help needed with the display of sub-totalling

Hi,
I am looking for some help in determining how to count only Y's in a column and then display them in the sub-total row.
Client      Participant      Prod 1     Prod 2     Prod 3     
XXXXXX     White, James     Y     N     N     
XXXXXX Jones James      N     N     N     
XXXXXX Brown, James      Y     Y     N     
XXXXXX White, James      Y     Y     Y     
XXXXXX Rmanth, James      Y     Y     Y     
XXXXXX Pink, James A     N     N     N     
XXXXXX Black, James A     N     Y     N     
Product Counts          4     4     2
Edited by: user10693087 on Jan 2, 2011 5:44 PM
Edited by: user10693087 on Jan 2, 2011 5:46 PM
Edited by: user10693087 on Jan 2, 2011 5:47 PM

Anyone has any suggestions for my question. Any help is much appreciated. Thanks.

Similar Messages

  • Help needed with the script

    Hi all, I am a novice in scripting...
    Could someone help me writing script for the following....
    Assume that there are 5 folders
    1 /etl/dev/work/wellness/enrl_rej/records
    2 /etl/dev/work/wellness/enrl_rej/metadata
    3 /etl/dev/work/wellness/enrl_rej/header
    4 /etl/dev/work/wellness/enrl_rej/hdrrej
    5 /etl/dev/work/wellness/enrl_rej/fields
    need to check if there is a file created in any of the above five locations,
    If the file Exists in Location 1 then
    send message with Subject 'process complete and attached are the rejected records' with the file in that folder as attachemt
    if file exists in Location 2 then
    send message with Subject 'Metadata Mismatch no of fields in detail didn't match' With the file in that folder as attachment
    If file exists in 3 then
    send message with Subject 'Problem with header file - File Rejected' With the file in that folder as attachment
    If file exists in 4 then
    Send message with subject 'the Percentage of rejects more than 3 percent File rejected' With the file in that folder as attachment
    If file exists in 5 then
    Send message with subject 'The header and detail count didn't match File rejected' With the file in that folder as attachment
    Thanks in advance !!!

    Hi,
    Assumptions :-
    uuencode command exits
    mailx command exits
    File name is "vas.txt".
    Mail id is "[email protected]"
    # START OF SCRIPT
    #!/bin/ksh
    vasFileName="$1"
    vasRecordsDirFile=/etl/dev/work/wellness/enrl_rej/records/${vasFileName}
    vasMetatdataDirFile=/etl/dev/work/wellness/enrl_rej/metadata/${vasFileName}
    vasHeaderDirFile=/etl/dev/work/wellness/enrl_rej/header/${vasFileName}
    vasHeaderRejDirFile=/etl/dev/work/wellness/enrl_rej/hdrrej/${vasFileName}
    vasFieldsDirFile=/etl/dev/work/wellness/enrl_rej/fields/${vasFileName}
    if [[ -e ${vasRecordsDirFile} ]]
    then
    uuencode ${vasRecordsDirFile} ${vasRecordsDirFile} | mailx -s "process complete and attached are the rejected records" [email protected]
    elif [[ -e ${vasMetatdataDirFile} ]]
    then
    uuencode ${vasMetatdataDirFile} ${vasMetatdataDirFile} | mailx -s "Metadata Mismatch no of fields in detail didn't match" [email protected]
    elif [[ -e ${vasHeaderDirFile} ]]
    then
    uuencode ${vasHeaderDirFile} ${vasHeaderDirFile} | mailx -s "Problem with header file - File Rejected" [email protected]
    elif [[ -e ${vasHeaderRejDirFile} ]]
    then
    uuencode ${vasHeaderRejDirFile} ${vasHeaderRejDirFile} | mailx -s "the Percentage of rejects more than 3 percent File rejected" [email protected]
    elif [[ -e ${vasFieldsDirFile} ]]
    then
    uuencode ${vasFieldsDirFile} ${vasFieldsDirFile} | mailx -s "The header and detail count didn't match File rejected" [email protected]
    else
    echo "File doesn't exist in any of the directories mentioned."
    fi
    # END
    Vijay Bheemineni.

  • Help needed with the nokia 7373

    hi, can anyone help me with changing the colour of the font when the phone is in the idle state and what does it change exactly on the front of the screen ? manythanks.

    Menu/Settings/Display/Standby mode font colour

  • Begginers help needed with the beachball

    Hi everyone , I'm new here because for the last 2.5 years I haven't had a problem with my imac but the last couple of months its been driving me crazy. I probably see the beachball 20+ times a day.
    I don't have a lot of programmes running but i enter competitions and have a lot of windows open at the same time - 1 of the reasons I chose the imac.
    Can anyone help me work out what's wrong with it please and find out if I can fix it - Im afraid I am totally rubbish at computer talk though but if anyone is willing to try and help I shall do my best to keep up.
    Many Thanks.

    When you have the problem, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HELP needed with the MSI Mega PC 651 !!!

    Hi there,
    It seemes to me the previous thread concerning the MEGA PC is no longer visited... and besides that, I need help.
    I have a problem getting to install a HD in the machine.
    I tried a 200 GB HD, which gives me an error when I try to load windows... immediately after the first restart in Windows Setup, I get a "Disk error. Press Ctrl+Alt+Del to restart"
    I tried a smaller HD (120 GB), thinking there might be something to do with the 137 GB Windows limitation... I get the same error.
    And then I try a 4.3 GB HD (an old one), and it works perfectly!
    I'm at my wits' end... can someone please tell me how to fix this, before I go crazy?

    Yes... as long as the boot partition is smaller than 32 GB, the computer is happy.
    BTW, Stu, I'm using a Mobile Celeron, and it works perfectly, with zero modifications... Stock speed is 1.8, but I keep the FSB at 133, so it's running at 2.4 GHz now...

  • Hi all **help needed with the  SMO (Web Based Ordering Portal) integration

    Hi SD experts
    Could someone please explain me the concept of integrating SMO (Web Based Ordering Portal) integration.
    Thankyou very much
    Bj

    ...I earnestly urge the Oracle gurus to help me with my issueWell most of the 'gurus' on this forum are not Oracle employees and can't really help to resolve this. We can only offer suggestions. There's no link from this forum to an Oracle manager. The only direct contact to Oracle is through creating an SR -- and that's generally for issues specifically with certification rather than with OE training.
    That said, I used to work for Oracle. If there is any time not to have high expectations for customer service it's in December. The vast majority of employees take a significant percentage of their annual vacation that month. If I were to hazard a guess at what caused at least some of your issues, I'd say you got at least somewhat caught up in that.They also do a lot of system maintenance in December. I didn't work for OE but rather for Support, but I'd suspect they are similar. Towards the end of December, the place resembled a ghost town.
    I haven't used OE's online interface to order training. I just tried it a minute ago (up to the point where I was going to start committing to things I don't want, anyway) and I don't see how this much confusion can be generated. Since you indicated they used your credit card information for payment, I don't grasp why they would have any reason to talk to the company you are currently contracting for.
    Regardless of how it happened, Brandye (the moderator and an Oracle employee) might be able to suggest something specific. My own suggestion would be to grit your teeth and order again (the interface appears to be up). Provide only contact numbers/addresses to you and put 'Independent Contractor' down as the company. They really want to sell you the training. I'm confident that you'll be able to... eventually.

  • Desperate Help needed with the 4Hi 8x16x48x

    Hi all,
    that my first post. I was wondering if any of you guys could help.I've got a 48*16*48*. I've used it for a couple of times but now it doesn't seem to work, it takes ages to read and sometimes it doesn't detect the Cd.Is something wrong with the writer itself or the nero software?can anyone of you help? ?(  ?(  ;(
    thanks
    kaz

    The CDRW is faulty. Try to claim warranty if the drive is new.

  • Help needed with putting in a sub menu

    Hi all
    I'm trying to put in a 3 button sub menu into a 5 button menu
    that is already in a template that I've purchased. The menu is
    currently in the following format
    HOME - ABOUT - SERVICES - PARTNERS - CONTACT
    I wish to have the 3 services / products available listed
    below as well as next and previous buttons to navigate between the
    pages, but with my limited knowledge of scripting I'm a little more
    than stumped. Any and all help will be gratefully appreciated.
    I have uploaded the .fla file so if you can help and take a
    look.
    flash file
    Regards
    Dave

    Will field "B" ever have a value of zero?
    Assuming fields "B" and "B" are formatted as "Number" and field "A" is  formatted as "Percentage", then only only needs to check for field c for a value of zero.
    One may also need to account for the fact that a null string ("') field will be treated as zero.
    The custom calculation for field "D" could be:
    // get field objects;
    var oDivisor = this.getField("B"); // field object for divisor;
    var oDividend = this.getField("C"); // field object for dividend;
    event.value = ""; // default result if no computation performed;
    if(oDivisor.value != 0 && oDividend.value != 0) {
    event.value = oDividend.value / oDivisor.value;

  • Help needed with the Apple firewall.

    Back before I upgraded to Leopard when I set the firewall to stealth and then had grc.com scan my iMac G5 - well it was invisible according to grc. Fully stealthed. Now when I do the same thing it shows that ports 135-139, 445 and 593 are slealthed, and 548 is OPEN! Everything else is just closed. It tells me that it not only receives pings, but it also ANSWERS them.
    I've tried changing the settings on the firewall then restarting the computer but that makes no difference to grc. I sent com.apple.alf.plist to the trash but that made no difference either. I even tried using Brickhouse and Noobroof with no help, which is understandable since they are just new front ends for the Apple firewall.
    I have Pacifist, so I guess I could just reinstall the firewall files but I don't know what to install.
    This bird is not sleeping it's DEAD! It just feels broken since nothing I do changes it's functioning.
    Can anyone suggest a way out of this mess. Right now I'm feeling very exposed and I'd love to have my old firewall back.
    Message was edited by: Harold Fink

    Hello
    Using the method suggested by Aron:
    prha.creation_date >= :start_date
    AND
    prha.creation_date < :start_date + 1Oracle will be able to use any indexes present on creation_date. Using the TRUNC(prha.creation_date) method, oracle will only be able to use an index if it is a function based index using TRUNC. Also, the bind variable data types should be of the date data type and if they are not, then the TO_DATE function should be used, but the TO_DATE function does not need to be and should not be used on a date data type.
    prha.creation_date >= TO_DATE(:start_date,'MM/DD/YYYY')
    AND
    prha.creation_date < TO_DATE(:start_date,'MM/DD/YYYY') + 1HTH
    David

  • Help needed with ALV display - Asynchronous ALV

    I have a requirement to generate a report in ALV and after that i need to abend the Program but after alv list display program is not executing further, Please help.

    Hi
    Didnt understand your issue.
    Can you elaborate.
    Regards
    Raj

  • Help needed with the bottom (icon?) bar.

    Okay so, I'm new to using Mac and so I'm just guessing that you call the bottom bar the icon bar?? Sorry. Nonetheless, I recently somehow removed the "Downloads" icon from this bottom menu bar, and it really came in handy so I would like to get it back. Only....I can't seem to figure out how.
    Any help with this would be greatly appreciated.

    Your downloads folder is located in your home folder:
    Macintosh HD:Users:yourname:Downloads
    Just drag it to your dock (icon bar) on the right side.
    Thanks ... Ken

  • Help needed with the MM module

    hi,
    I have a question regarding the MM and AP data......In MM module we have 0vendor and in AP also we have another 0vendor......the task is how we can connect these 2 vendors into one 0vendor object.....i appreciate ur help... thanks in advance

    hi,
    they are the same 0vendor actually,
    the same infoobject in bw share the same master data,
    rsa1->infoobjects->choose 0vendor, and right click 'maintain master data', put e.g 10000 for the max no of hits and execute, you will see 0vendor from MM and AP there. (also you can try se16 and type in /bi0/tvendor - vendor text, to view the vendor and description).
    if you want to have vendor report join from MM and AP, you can use multiprovider join MM cube and AP cube (or ods), then create query from the multiprovider.
    take a look docs multiprovider technical detail and sample, and how to create efficient queries on multiprovider
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11291595-0501-0010-c881-e02c27261b55
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/751be690-0201-0010-5e80-f4f92fb4e4ab
    hope this helps.

  • Help needed with the installing from a USB drive

    Hi, My HD failed and will not boot on my A665-3DV. I was able to retrieve all the data from both the partitions to another computer. I copied the data from the HDDRecovery partition to the USB flash drive. How do I use that data to install to a new HD?
    Please help. Thanks!

    It's not really hidden. You can connect the hard drive to an external device like coolmax (Coolmax CD-350-COMBO USB to IDE/SATA Device Adapter) which plugs in to a USB port on any PC. You can view the contents in explorer just as any other external HD.
    Of course it took me a while to make the HD work (I beat the S**T out of it on the sides every time it didn't work). It took me a few days to get all the content out of it. It still would not work if I plugged it back into the laptop. 
    I made my flash drive bootable (http://www.ehow.com/how_5215265_make-bootable-flash-drive.html) 
    Copied the contents of the HDDRecovery partition to the flash drive and I was good to go.
    Hope that helps!!

  • HELP NEEDED WITH THE ERRORS

    Hi all
    we are a MDMP code page system and we upgraded to ECC 6.0.
    We fixed all our unicode errors by checking the unicode flag in the attributes  we activated the program without any syntax errors or warnings.
    Now when we go back to UCCHECK, it still shows erros especially for bdc programs
    My question why would it show as an errors in UCCHECK when the program gets activated without any warnings or errors.
    This is the error iam getting
    The system could not perform a static convertibility check on the current
    statement, because of untyped or generic operands. It can only carry out this
    . runtime.
    Whta exactly static convertibility check.
    Can anyone suggest what i have to do regarding this
    The error is pointing this piece of code
          FORM bdc_dynpro                                               *
    -->  PROGRAM                                                       *
    -->  DYNPRO                                                        *
    form bdc_dynpro using program dynpro.
      clear i_bdcdata.
      i_bdcdata-program  = program.
      i_bdcdata-dynpro   = dynpro.
      i_bdcdata-dynbegin = 'X'.
      append i_bdcdata.
    endform.
          FORM bdc_field                                                *
    -->  FNAM                                                          *
    -->  FVAL                                                          *
    form bdc_field using fnam fval.
      clear i_bdcdata.
      i_bdcdata-fnam = fnam.
      i_bdcdata-fval = fval.
      append i_bdcdata.
    endform.
    Thanks
    Suchitra

    Hi,,
    This is from the standard include bdcrecx1
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      IF FVAL <> NODATA.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
      ENDIF.
    ENDFORM.
    It looks the same way i wrote the code right.
    But again when i do syntax check it won't show up. It shows only in UCCHECK
    Thanks

  • Help needed with the structure of my Imovie project

    Hi guys
    I am making quite a large and complex project for my son's soccer team. It will involve around 15 chapters/events.
    I am making each piece out of order, when the photos/video become available and this is giving me grief as each time I make a new piece...my audio (which has many edits/sfx etc) has to be re-seated.
    I'm wondering if there is a way to lock down sections of video and audio to move as one piece?
    If not - can I export each segment as a QuickTime movie and re-import as one piece? If I did this would I suffer quality loss?
    Thanks
    Ross

    ... can I export each segment as a QuickTime movie and re-import as one piece? If I did this would I suffer quality loss? ...
    in addition to Bev's excellent reply:
    exporting as Quicktime/Full Quality is a 'bit-wise' copy of your project.. no quality loss.
    for elaborated tasks as yours, consider a future investment into FinalCutExpress...

Maybe you are looking for