Help I stuck on "This field cannot be summarized"

I'm trying to build a report that measures the rate a clinic exceeds standard visit resolution.
For each Clinic I need a count of patients with 1 or more visits exceeding standard or @Yes_No = "Yes"
Group 1 = Clinic Name
Group 2 = PatID
Detail fields = PatID, VisitID, Visit Start Date, Visit End Date
A patient can have several visits
Here are my formulas
Code:
@HourstoResolve := DateDiff ("h",{@StartDateTime},{@Sh_OrderDateTime} )
Code:
@Yes_No :=
If
    (ToText({@Sh_OrderDateTime}) = "" or
    ISNULL({@HourstoResolve}) or
    ISNULL({@StartDateTime}) or
    {@HourstoResolve} > 2)
then
    "Yes"
else
    "No"
Code:
@ExceedStandard :=
If
    {@Yes_No} = "Yes"
Then
    1
Else
    0
I placed a RunningTotal Formula in the detail section but I still can't get the total by CLinic
Can anyone help?
Thanks
Steve

Hi Steve,
1) Change the @Yes_No code to:
If
    ({@Sh_OrderDateTime} = cdatetime(0,0,0,0,0,0) or
    {@HourstoResolve} = 0 or
    {@StartDateTime} = cdatetime(0,0,0,0,0,0) or
    {@HourstoResolve} > 2)
then
    1
2) Go to Insert Summary > Select this formula in the 'Field to Summarize' > Choose 'Sum' as the summary operation > Choose 'Group #1' as the Summary Location.
-Abhilash

Similar Messages

  • This field cannot be summarized

    I have a report where I need to calculate a total number of hours for the day and then for the week for each employee.  When trying to calculate the weekly total, I get an error message that says 'this field cannot be summarized'.  Below is the formula for the field that I am trying to summarize:
    If {@ActHrsWorked} < 5.00 then {@ActHrsWorked} else
    If {EMPLOYEE.SHIFT_ID} ='NO PARAMETERS' then {@ActHrsWorked} else
    If {EMPLOYEE.SHIFT_ID} = 'OFFICE' then {@ActHrsWorked} else
    {@ActHrsWorked} - .5
    The @ActHrsWorked formula is as follows:
    DateDiff ("n",Minimum ({Command.CLOCK_IN}, {Command.SHIFT_DATE}, "daily"), Maximum ({Command.CLOCK_OUT}, {Command.SHIFT_DATE}, "daily")) / 60
    My employees clock in on labor tickets and can be clocked in on more than one at a time thus the need for the Minimum Clock_In and Maximum Clock_Out.
    Please let me know if I can provide any more information.  Thank you in advance for your help!!!

    Anne,
    I don't have any sample data to test with but it looks fairly straight forward.
    The following SQL will add 2 additional columns to to your data set... MIN_CLOCK_IN and MAX_CLOCK_OUT
    SELECT
    lt.EMPLOYEE_ID,
    lt.SHIFT_DATE,
    lt.EARNING_CODE_ID,
    lt.HOURS_WORKED,
    lt.ACT_CLOCK_IN,
    lt.ACT_CLOCK_OUT,
    lt.DESCRIPTION,
    lt.CLOCK_IN,
    lt.CLOCK_OUT,
    mm.MIN_CLOCK_IN,
    mm.MAX_CLOCK_OUT,
    lt.TRANSACTION_ID 
    FROM LABOR_TICKET AS lt
    INNER JOIN (
         SELECT
         EMPLOYEE_ID,
         SHIFT_DATE,
         DESCRIPTION,
         Min(ACT_CLOCK_IN) AS MIN_CLOCK_IN,
         Max(ACT_CLOCK_OUT) AS MAX_CLOCK_OUT
         FROM LABOR_TICKET
         WHERE SHIFT_DATE>={?StartDate} and SHIFT_DATE <={?ZEndDate}
         GROUP BY EMPLOYEE_ID, SHIFT_DATE, DESCRIPTION) AS mm
    ON lt.EMPLOYEE_ID = mm.EMPLOYEE_ID AND lt.SHIFT_DATE = mm.SHIFT_DATE AND lt.DESCRIPTION = mm.DESCRIPTION
    WHERE SHIFT_DATE>={?StartDate} and SHIFT_DATE <={?ZEndDate}
    Here's what it's doing...
    It's using a sub-query to pull in Min & Max aggregates of the ACT_CLOCK_IN & ACT_CLOCK_OUT (respectively), grouped on EMPLOYEE_ID, SHIFT_DATE & DESCRIPTION.
    The sub-query is then joined back to the original query so that you'll have the Min & Max values at the detail row level
    HTH,
    Jason

  • Using Crystal Reports XI, Version 11.0.0.1994, "This field cannot be summarized." Message

    Post Author: Caroline Richards
    CA Forum: Crystal Reports
    I am currently working on a revenue report that has details with groupings for account, rate codes, and categories of rate codes. 
    Revenue for each account can be adjusted, and the adjustment is linked to the original revenue amount by an Accounts Receivable Transaction Number.  The correct summary for higher groupings are affected when an adjustment is made to the same revenue amount (same AR Transaction Number) more than once.  I have been able to calculate the correct revenue amount in a formula, leaving out the duplicated revenue when there's more than one adjustment on the revenue; however, when I try to summarize the calculated revenue amount in any way, I get a message stating:  "This field cannot be summarized." 
    Is there a way around this so that I can use the calculated amount?  Will an array work?

    Post Author: SKodidine
    CA Forum: Formula
    In CR, you cannot summarize on a summary field.  Since the formula already has a summary function in it, you will not be able to summarize on the formula field.
    Workaround would be to calculate summaries using a running total or another formula and thus avoid the summary using summary situation.

  • This field cannot be updated as there are open sales order lines

    When trying to enable Item Attributes then I am getting a message "This field cannot be updated as there are open sales order lines". I cancelled the Sales Order ( which was having only 1 sales order line and that is also cancelled) but still I am getting the same message.
    How to overcome this problem.
    Khan

    Thanks Karthik & Sandeep........
    Issue got fixed. There was an open Sales order Line because of that line the issue was coming. After cancelling that SO Line, Users were able to update the Item field.
    Regards,
    Khan.
    http://moreapps4u.blogspot.com/

  • Urgently, Help. Stuck on this issue when unable to figure out what methods to use...

    Urgently, Help. Stuck on this issue when unable to figure out what methods to use...
    Attachments:
    enquiry.jpg ‏101 KB

    so sorry about that
    I have an example attached.
    How to control the pause function automatic control by the system timing? when only reaches 0000hrs, pause function execute?
    Attachments:
    pause_button.vi ‏16 KB

  • My ipod classic is stuck on 'this game cannot be launched' ....as a result of a full ipod. the ipod is not full and i cannot do anythink with it.please help. thanks ceetee45.

    my ipod classic is stuck in the 'this game cannot be launched'mode.as a result i cannot use it for any think.it is not full.
    thanks for your help.

    Try resetting the device. The hard drive may not be full, but the device RAM might be. If resetting doesn't work then perhaps you have many large playlists and these are reducing the amount of free RAM for games.
    tt2

  • Need help , iam anew in this field

    hi all
    i am anew in SAP and i ask my Friends how can i start they told me you should know the ABAP at First
    but really i didn't know from where i will start
    i need to know what is the IDE Should i use
    and this is some info about me
    i graduated from computer Science Department and working as a teaching assistance , now i need to change my career
    i know .net , Oracle Share Point
    Developed Some Sub-Systems by C# , ASP.NET
    that is all
    and thanks for help

    Maybe this one could help you to start: /people/otto.gold/blog/2010/03/31/want-to-switch-to-sap-consultancy
    If you would like to, I could create some "little development plan" for your specific experience and background. Would youlike me to? It would be a great "case study" for other people coming here with the same question and the same background as you. Regards Otto

  • Please help I keep getting this message, cannot open files from server

    Nov 18 11:47:25 design-2s-mac-pro.local mdworker[1046]: (Normal) Import: Using too many resources after 1920 files (wired: 0 resident: 3358 swapped: 0 regions: 2076), hit usage threshold importing /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/tearoff. tcl, exiting to clean up now.
    a window pops up with the warning "The software cannot be found" along with a "Document" icon - the blank sheet of paper with the corner folded down.

    Getting this message from what application?  Are you in the terminal?   What are you doing?

  • I have a MBP from.....mid 2012 (or 2011, not sure) And im running bootcamp with sp1 windows 7 ultimate, I want to use the 1T toshiba hardrive (3.0 usb) and it dosnt show up in either mac nor windows. Please help, been stuck like this forever.

    Well....I, as a noob, wrote everything in the title *shy smile*

    What are the system requirements for that model hard drive?  The few 1T's that I saw on Toshiba's website were only compatible with Windows.  None make no mention of Macs. 

  • User defined F4 help on a table control field

    hi
               i m calling table maintenance view on click of a button on module pool screen . i have 1 column internal table which has the contents of help to be displayed on 1 of the fields in table control . how to code and where?
    i m using   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    for user defined F4 help . but where exactly to code i  dont knw.please help.
    thank you.
    Ajantha.

    Hi,
    Inthe Module Pool Program, By Default the PROCESS BEFORE OUTPUT and PROCESS AFTER INPUT, at the same way we need to write the POV ...
    As same as we need to write the POV enent manuvally, what you writen the Event will be work in the Report but that does not work in the Module pool Program you need to write PROCESS ON VALUE REQUEST
    write as PROCESS ON VALUE REQUEST then under this write the Function module to call the F4 for that field
    The Code should be like
    PROCESS ON VALUE-REQUEST.
      FIELD <f> MODULE <mod>. --> " Double click it and write the Function module for this then the F4 help will come for this Field
    Look at the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
    Regards
    Sudheer

  • Zen 8G This device cannot start code 10 and firmware update problem

    I have read the threads in the forums on the same problem that I am having. It seems that there are few solutions for this and the ones that have been posted I have tried. Basically the problem is this, I made the silly mistake of trying to update the firmware on my Zen 8G since it was listed as a critical update. I downloaded the firmware but it failed and took me to the recovery screen. Instead of working with this, again silly me, I tried to use the Creative recovery tool. This downloaded the firmwary and started rebooting the player. At this point it just hung. I left it on for about 3 hours and nothing happened and it wouldn't turn off so I hit the reset button on the player. Now when I connect it to the computer it recognizes it as a creative zen but if I try to download the firmware the software says the player is not connected when it is. When I check the device driver, even though it shows it as a creative zen it says "This device cannot start code 0"? I have the latest Microsoft device driver loaded and it still doesn't work.
    I have tried this on two different computers, one using XP and the other using Vista. I get the same problem with each. It appears to me that the problem is not really with the device driver but somehow with the firmware. However, I am not an expert at this stuff.
    If anyone could please help I would appreciate it. This was a gift for my wife for the Christmas of 2007 so it is just out of warranty and the service people won't help.

    GRe: Zen 8G This device cannot start code 0 and firmware update problem?Hello Tbg99,
    Welcome to Creative forums!
    Try booting the player in the recovery mode.
    . While the ZEN is off, press and hold down the play/pause button.
    2. While holding down the play/push button, push the reset button slowly using a paper clip/pin. You should feel the "click" sound when press it.
    3. Slide the On/Off switch towards the power button and hold it down until the recovery boot screen appears.
    Choose Clean Up then Reboot. If problem still persists, you may need to format the ZEN but take note that formatting will delete the contents of the device. To format the ZEN, boot the ZEN in the recovery mode again and choose Format this time.

  • This software cannot be used on this machine (urgent help)

    Hey guys
    I'm after some help with my Macbook Pro.. I have several mac laptops at home from powerbook, macbook pro and a macbook...
    I wanted to do a reinstall of the macbook pro software so i dug out the discs and started the process. the discs say the version of os x is 10.4.5 and during the install of cd1 i got an error but i was able to click on continue and the install seemed to be going ok. At cd 2 the install started but suddenly came to end and said that there was a problem and to start the install again. the cds appear to have become damaged in storage so there are scratches on them...
    So from there i have tried to find replacement cds to complete the install...
    i recently managed to get the install cds for a macbook pro with version 10.4.9 on them. i have put the disc 1 in and started the install but i get a message saying, these are genuine install cd's that i bought from ebay.
    "this software cannot be used on this machine"
    Not matter what i try i am stuck half way through an old install and unable to move on.. can anyone help me with this... i have install cd's for my macbook and my old powerbook but nothing seems to work.
    can any help me get by this?
    thanks in advance
    Message was edited by: Kuffdam

    Install disks that ship with the computer are highly machine-specific even within the same product line. According to [THIS PAGE|http://support.apple.com/kb/HT1159?viewlocale=en_US] your MBP was probably the model introduced in Feb 2006, which never shipped with an OS version higher than 10.4.6. The only MBP model that shipped with 10.4.9 was the one introduced in June 2007, so it could not have been the same model as yours.
    I think all Apple need is your MBP's serial number in order to sell you the proper disks for your machine.

  • HT4623 While updating I was asked for a "Rescue Email".  I entered my email address but when I pushed "Next", I cannot advance.  I seem to be stuck at this level.  Suggestions?

    While updating I was asked for a "Rescue Email".  I entered my email address but when I pushed "Next", I cannot advance.  I seem to be stuck at this level.  Suggestions?

    I can't answer why you are not able to connect to WiFi but I can tell you to try the basic things, turn WiFi off and on again, restart your iPad, reset network settings, reboot your router, forget your WiFi network and try again .....
    The issue with the email is probably a password issue. Make sure that your password is entered in the incoming mail server setting and in the outgoing mail server setting as well. The outgoing server setting can be accessed by tapping on the SMTP under the Outgoing Mail Server Setting and then tapping the smtp.comcast.net in the next window under the Primary Server Setting.
    The outgoing mail server setting will be in the first window when you tap on the Comcast account in the Mail settings.
    Look here for a few different web sites for help with the WiFi.
    http://www.google.com/search?q=troubleshoot%20wifi%20on%20iPad

  • Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Running 10.6.8. Trying to open and view contents of a CD (of an MRI) and getting message 'This program cannot be run in DOS mode' Is there a way? Thanks for the help.

    Go to the support site for the provider of the MRI software.
    Sounds like it windows/PC. I have ran across that for the CDs that veterinarians provide for digital x-rays.
    I would try on a PC or on yuur Mac with Windows via BootCamp or a virtual machine like VirtualBox

  • "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    lots of people seem to be havgin a problem sending email from iCloud webmail.
    does your email address have uppercase characters in it?
    if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that

Maybe you are looking for

  • How can I restore an app and its data from an old ipad to a new ipad without restoring from backup?

    When I purachsed and iPad 2 to replace my old iPad I did not want to restore it from backup for obvious reasons.  However, there are apps that have data stored in them that I have lost the data for, what can I do to get the app and data back on the n

  • Printing to Canon Pixma MP170 on Airport Express from Windows XP

    I got a Canon MP170 basically for free with the rebates. Connected to my Airport Express, installed the drivers on my PowerMac and I can print just fine (I am aware that the scanner will only work when connected directly - which also works fine). Now

  • Error in RSCRM_BAPI

    I am using RSCR_BAPI to get the query data in flat file. When I restrict the query with fiscal year/period it is giving zero bytes file. Any suggestions would be highly appreciated.

  • Disable the Help Key

    Hi, I have a Macbook Pro and Wireless keyboard. I am constantly hitting the "Help" key on accident and it's very frustrating when the help box pops up. Is there a way to disable the "Help Key"? Thanks!

  • Concurrent Employment and MSS ( Structural Authorisation)

    Hi We are having some problem with Structural authorisation in case of concurrently employed users. The scenarios is as follows 1. User A is manager and have MSS role and relevant PD profile 2. User P is employee . This employee is concurrently emplo