Group Formula Help

Post Author: dmface15
CA Forum: Crystal Reports
I have a report that identifies employees and what taxes that employee pays. For example,
John Doe
OASDI           $2500
Medicare        $625
Jane Doe
Medicare       $1750
Michael Smith
OASDI          $1630
Medicare       $783
The report is grouped by Employee name and tax code. The reason for grouping by tax code is because the tabale i am using to get tax code has records for each pay check the employee has received. Here is the problem. I need to create a report that will give me all employees who pay Medicare AND OASDI, all employees who pay ONLY Medicare. Therefore, when I run the report for employees who pay Medicare AND OASDI I should only see Michael Smith and John Doe. If i run the report for all employees who pay ONLY Medicare I should see only Jane Doe. Right now, I am having trouble with creating a formula whether it by group selection or record selection. Can anyone help me out? I would appreciate it. Thanks.

Post Author: kcheeb
CA Forum: Crystal Reports
Have you tried suppressing the group and detail sections based on the report type and count of tax code records? Assuming There are no people with only OASDI tax codes.
The other option would be to use sql to return you only Medicare people or OASDI & Medicare people.

Similar Messages

  • Crystal Report Grouping Formula

    Experts,
    In Crystal repot how can we have Grouping formula basis, i.e
    there are two coulmns
    1. GRPO Doc No
    2. GRPO Doc No (Has GRNA)
    now if column 2 has value it should do grouping with this or
    if column 1 has value then grouping should be done on col1.
    Now i have put one field on other in one single Column, so if GRPO Doc No is present it shows value or vice versa

    Hi,
    Insert Group in crystal reports for
    1.  GRPO Doc No
    2. GRPO Doc No (Has GRNA)
    Then supress the groups1 when GRPO Doc No is blank and silarly for other.
    it will resolve the issue.
    Thanks,
    Neetu

  • When I try an update I-tunes the software tells me the older version of Apple Software Update cannot be removed. Contact your technical support group. Help!!!

    When I try an update I-tunes the software tells me the older version of Apple Software Update cannot be removed. Contact your technical support group. Help!!!

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Group Policy Helper tool not working properly

    Hello,
    I`m using IE 9 on a x64 Win 7 enterprise PC with ZCM 10.3.4.
    When Im logging into ZCC and start to configure a "windows group policy" the group policy helper tool starts and begins to download the policy.
    Then the gpedit.msc appears i get the popup "group policy settings imported successfully" immediately. This popup should certainly come up, when i close the gpedit.msc to import the changed policy setting.
    But so i always get an empty policy for upload.
    Any hints what`s wrong with it?!

    Originally Posted by andreas_karl
    Hello,
    I`m using IE 9 on a x64 Win 7 enterprise PC with ZCM 10.3.4.
    When Im logging into ZCC and start to configure a "windows group policy" the group policy helper tool starts and begins to download the policy.
    Then the gpedit.msc appears i get the popup "group policy settings imported successfully" immediately. This popup should certainly come up, when i close the gpedit.msc to import the changed policy setting.
    But so i always get an empty policy for upload.
    Any hints what`s wrong with it?!
    IE 9 is not supported, you need to stay on IE8 until 11.2 is released (15 march).
    Thomas

  • Group policy helper and Folder Redirection

    I've installed windows7/32 bit to use the Group policy helper. Now I can use this tool.
    I want to use the Group policy helper to redirect folders as descripted in Managing Roaming User Data Deployment Guide.
    In this documentation a folder redirection management snap.in is used. Can I somehow include this in the grouppolicy helper in ZCC11?
    I want to redirect the user folders to their homedirectory. We have about 500 Students and I can't configure every login so I hope to solve the problem using the group policies.
    (with zen7 and XP we configure the default local user to move desktop and user files to NetWare Home directory.)

    This still works..........
    http://www.novell.com/coolsolutions/tools/14324.html
    On 7/27/2011 7:56 AM, Alix wrote:
    >
    > I've installed windows7/32 bit to use the Group policy helper. Now I can
    > use this tool.
    >
    > I want to use the Group policy helper to redirect folders as descripted
    > in 'Managing Roaming User Data Deployment Guide'
    > (http://technet.microsoft.com/de-de/l...9(WS.10).aspx).
    >
    > In this documentation a folder redirection management snap.in is used.
    > Can I somehow include this in the grouppolicy helper in ZCC11?
    >
    > I want to redirect the user folders to their homedirectory. We have
    > about 500 Students and I can't configure every login so I hope to solve
    > the problem using the group policies.
    >
    > (with zen7 and XP we configure the default local user to move desktop
    > and user files to NetWare Home directory.)
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Formula help - Group totals for more than one date range

    Post Author: melcaylor
    CA Forum: Formula
    I need to show in 3 columns
    inside of a grouping that totals an amount field based on a date
    range that amount was posted.  So for example:
    Billy Bob in the state of MA made $5.5m total, $800k in the last 21 days, $400k in the last 14 days and $150k in
    the last 7 days.
    I assume this is possible but I
    just donu2019t know what type of formula to write to make it work.  For this
    example, there are 2 tables u2013 user table and $$ table.  The User table has
    the user name, the $$ table has the pay date and the amount. 

    Post Author: SKodidine
    CA Forum: Formula
    You only need simple formulae in Running Totals to accomplish this.
    1.  Group by Name
    2.  Create the following Running Totals:
    2.1 A running total to sum the pay amount for all records, and resets on 'Change of Group' of Name.
    2.2 A running total to sum the pay amount and for 'Evaluate' click on the radio button next to 'Use a formula' and then click on X-2 button next to it.
    In the formula workshop window type a formula such as: {table.payment_date} in (currentdate - 21) to currentdate;
    For 'Reset' click on the radio button next to 'On change of group' and pick the group name.
    2.3 Create another running total just as in step 2.2 above but change the formula to: {table.payment_date} in (currentdate - 14) to currentdate;
    2.4 Create the last running total just as in step 2.2 above but change the formula to: {table.payment_date} in (currentdate - 7) to currentdate;
    Hide the details section and in the group footer place text boxes with appropriate text and insert these running totals to give you the numbers you want.
    The only issue I see with this is if a person was paid yesterday a sum of $25, then it will show $25 for total, last 7days, last 14days and also for last 21days.  At first look it might be mistaken for $75.

  • Running Total Grouping Formula

    I have a running total condition that I need to summarize the field CAWP.BAC. I would typicaly evaluate this total for change of group 4 and reset on change of group 3. I need to condition the evaluation for ".900" in {CAWP.WP} but i also need to evaluate for change of group 4. Does any one have any examples of a formula for evaluation "on change of group"?

    Hi John,
        For this you can try using manual running total formula's.
    1) Create a @reset formula as below and place it in group header 3.
        Formula :
        Whileprintingrecords;
        Numbervar i:=0;
    2) Create an @evaluation formula and place it in detail section.
       Formula:
       whileprintingrecords;
       numbervar i;
       if {CAWP.WP} = ".900" then
          i:= i+ {CAWP.BAC}
    3) Create a @display formula and place it in group footer 4.
        Formula:
        whileprintingrecords;
        numbervar i;
    Hope this will help!!
    Regards,
    Vinay

  • Formula Help - Running Total vs ???

    Post Author: schilders
    CA Forum: Formula
    Good Morning All,
    I'm creating a report that contains a field called CDM Item.  This field indicates whether a particular order set was used for a given record.  Valid entries for this field are numeric 6 through 9.  I would like to create a formula that tells me the number of records that have a cdm item = 6, another formula that tells me the number of records that have a cdm item = 7 etc.  I need to summarize these formulas into pre-defined groups. 
    I was thinking a running total or a manual running total would be useful here.  However, I wanted to get some input from other formula gurus here.  Thanks, in advance, for your help.

    Post Author: yangster
    CA Forum: Formula
    You don't need to create a manual running total for what you are after.simply create 4 running totals ( 1 for each item number) using a running total with the evaluate formula of cdm =  6 (changed for each number)and resetting after whatever grouping you needthe other alternative you could implement if you have mutliple grouping and wanted subtotals on differing levels is to create a formula for each case such as@case_cdm6if cdm = 6 then 1 else 0then insert sum for each formula on all the differing group levels that way you only have to worry about maintaining one formula if the criteria changes

  • Special group formula

    I've got the need to create a group based on certain criteria. I have a series of varying item lists in my QuickBooks item table. They all have different names and have a certain structure to them. There are about 50 that have the following type name: F6112-PT-6001 where all the letters and number stay the same except for the last 4 which go up in increments of 1. Ex. F6112-PT-6002.
    What I need is the ability to 1) search in the item name for the value F6112-PT and 2) if it exists strip the last 4 digits off the right, 6001 and use that as the group name.
    I know how to do this type of stuff in Excel and SQL but not Crystal Reports. Any ideas?
    Regards,
    Derek Caldwell

    Hi Derek
    Create a formula field to strip the last 4 digits off the right, 6001.
    Use Right function (search for the syntax in Crystal Help) to do this.
    Now apply a group on this formula field.
    Hope this helps!!!
    Regards
    Sourashree

  • Formulas : Help for coding

    Hi experts,
    I face a problem I do not find any solution with my lack of coding development background.
    Here is my case :
    I have inserted a cross tab in my report. It looks like this :
    - Column : 3 following objects :
    Table.Period1
    Table.Period2
    Table.Period3
    - Line : Table.SIG containing th e following :
    1 Revenus
    2 Expenses
    3 Margin
    4 Other external expenses
    5 Added value
    => Lines 3 & 5 have been inserted to receive specifics formulas, subject of my thread.
    For example, I'd like to put a simple operation like:
    3 = 1- 2 (numbers, referred to above lines of my cross tab)
    But, in Crystal Report, it seems to be not possible to easily cross objects.
    Someone can help ? Have any idea ?
    Thanks for you time,
    Olivia

    Debi Herbert wrote:
    > You may need to do a manual crosstab which is to say group on your "lines" and using formulas create the columns in the group footer for each "line" and suppress the header and the detail lines.
    Hi Debi, thanks for your reply,
    I've created a report using "manual cross tab"; and also using automatic/manualformulas.
    The thing is a resultat like that :
    Detail   :                     xx
    Detail   :                     xx
    Group Footer 1 : 1 Revenus                                     >> Automatic formula which sumaryze the detail above
    Detail   :                     xx
    Detail   :                     xx
    Group Footer 1 : 2 Expenses                                   >> Automatic formula which sumaryze the detail above
    Group Footer 2 : 3 Margin                                         >> FORMULA that need to sum. the both group footer 1 above. but fail.
    Detail   :                     xx
    Detail   :                     xx
    +Group Footer 1 : 4 Other external expenses            >> Automatic formula which sumaryze the detail above
    Group Footer 2 : 5 Added value                               >> FORMULA that need to sum. Margin + Other external expenses. but fail.
    I do not succed to create a formula that can sumarize objects from different group footer.
    If someone have any idea, i'll much appreciate your help
    Thanks,
    Olivia

  • Vendor Account Group Search Help

    Hello MM Experts,
    We would like to search Vendors by Account Group. Surprisingly it appears that SAP has not provided a standard Search Help for this. I would think that a lot of SAP users would want this.
    Does anyone know why SAP has not provided this search help in the standard system?
    Would it be ok to go ahead and create one ourselves?
    Can someone please give me some pointers on how to proceed with creation of this search help?
    Thanks!
    Anisha.

    Hi,
    Go to any vendor field, press for selection (F4)......you get many search options there.
    One of those search option is vendor by account group.
    You can also do it thru LFA1 table.
    Sk.

  • India localization oracle fast formulas help

    hi ..
    anybody help on oracle india localization fast formulas, absence mgmt setup, online payslip setup and tax declaration set up in payroll and sshr basic setups for absence mangt and transfer setup. plz send me on [email protected]

    send me a contract, buy me a ticket, and i fly over.

  • Group report help

    i want to create report in Oracle D2k (Reports 6i). Please help.
    i have 3 tables.
    1 master table: school with school_id primary key
    2 detail tables: dept & employee with school_id foreign key in both
    Now I want report like this:
    1 Delhi Public School
    school_id dept id dept name
    1 10 chemistry
    1 20 Physics
    school_id Employee_id Employee_name
    1 100 ABC
    1 200 XYZ
    2 Punjab Public Shool
    school_id dept id dept name
    2 10A Computers
    2 20B History
    school_id Employee_id Employee_name
    2 A100 12ABC
    2 C200 12XYZ
    Please help. thanks in advance.

    want to create report in Oracle D2k (Reports 6i). Please help.
    i have 3 tables.
    1 master table: school with school_id primary key
    2 detail tables: dept & employee with school_id foreign key in both
    Now I want report like this:
    1 Delhi Public School
    school_id dept id dept name
    1 10 chemistry
    1 20 Physics
    school_id Employee_id Employee_name
    1 100 ABC
    1 200 XYZ
    2 Punjab Public Shool
    school_id dept id dept name
    2 10A Computers
    2 20B History
    school_id Employee_id Employee_name
    2 A100 12ABC
    2 C200 12XYZ
    Please help. thanks in advance.
    Try below
    Select report type as group above
    sql query is like this :
    select a.schoolid, a.schoolname, b.details
    where
    a.schoo.d = b.school id
    for group above use scholl id
    You will get what you mentioned

  • GROUP BY help

    Hey all,
    I am having a difficult time with this one, any help would be appreciated.
    I have a table with 4 fields:
    ID,MAIN,TIME,SPD
    it would look something like this
    ROWID,ID, MAIN, TIME, SPD
    1, AA, 01, 1, 45
    2, AA, 02, 1, 44
    3, AA, 02, 2, 33
    4, AA, 03, 3, 44
    5, AA, 02, 5, 55
    etc
    What I need to do is get an AVERAGE of the SPD column
    where I GROUP by ID, MAIN and (here is the hard part) TIME (ONLY if its sequential)
    So by ROWID
    1 would stay the same,
    2 and 3 would be averaged because ID, MAIN are the same and TIME is sequential
    4 and 5 would stay the same...
    looked at the AVG analytical function to see if I could just create a moving average (partitioned by ID, MAIN) but it still ends up averaging rows 2,3 and 5. I imagine you could do it with PL/SQL but not very versed in cursors and the table I would be running this on numbers in the billions of rows...
    Thanks ahead of time,
    Eric

    If i understand clearly.
    with t as (
    select 1 r1, 'AA' id , 01 m1, 1 t1 , 45 spd from dual union all
    select 2, 'AA', 02, 1, 44 from dual union all
    select 3, 'AA', 02, 2, 33 from dual union all
    select 4, 'AA', 03, 3, 44 from dual union all
    select 5, 'AA', 02, 5, 55 from dual )
    select id,m1,avg(spd)
    from (select m1,r1,id,t1,grp,spd
    from t
    model
    partition by (m1)
    dimension by (row_number() over (partition by m1 order by r1) rn )
    measures (r1,id,t1,spd,lag(t1) over ( partition by m1 order by t1) next_t1,1 grp, 1 grprec)
    rules
    upsert
    iterate(1000)
    until(presentv(t1[iteration_number+2],1,0)=0)
    (grprec[any] = nvl(grp[cv()-1],1),
    grp[any]= case when nvl( next_t1[cv()]+1,t1[cv()]) =t1[cv()]  then               
                 grprec[cv()] else  grprec[cv()]+1  end))
    group by id,m1,grpoutput
    AA     3     44
    AA     2     55
    AA     1     45
    AA     2     38.5
    Edited by: alvinder on Mar 4, 2009 9:51 AM
    Fixed the mistake i did.

  • Grouping formula

    Hi,
    Is it possible to group records within range? I have to group record for a range of dates (start day + x days). When I tried to make a formula and then group on that formula I got error that returning value cannot be range. I tried few constructions, but none worked eg.: to DateAdd("d",-5, )
    Any idea how to accomplish that?
    Greetings,

    I agree with Sean.  Just remember that your formula has to return a single discreet value as the result.  It cannot return a range.
    select {table.date}
      case currentdate to currentdate - 5 : "Less Than 5 Days Ago"
      case currentdate - 6 to currentdate - 15 : "6 to 15 Days Ago"
      case currentdate - 16 to currentdate - 30 : "16 to 30 Days Ago"
      default : "More Than 30 Days Ago"

Maybe you are looking for

  • Photo Sorting Issues with iTunes 10.1.1.4 & 3Gs

    Hi, folks. Does anyone know what logic iTunes uses when sorting photos from a computer during sync? I have a large set of photos I'm trying to keep chronological (as they are on my computer) but every time I sync them, they get all out of order on th

  • Driver selection/upload tabs missing in iManager

    I have symptoms similar to the ones in TID 7005243, at least : * Unable to see Driver tab in Driver Store's Properties in iManager * Driver tab is missing in driver store's Properties Strange enough I can create driver profiles and assign existing dr

  • Duplicate contacts & calendar items

    Hello I need some help please, I have a new I-phone which I have tried to sync with outlook on my pc via itunes. I do not have ME on it at present, I have tried deleating every thing but as soon as you sync it doubles up? What am I not doing? or doin

  • Subcontrating Purchase order with Validity Period.

    Hii, Our user here using validity period to restrict GR creation or invoice verification process against the order if posting date is not within validity period. There is certain case whereby GR have been received in full quantity examle; PO Item for

  • I have PSE 4.0.  How do I get it to read Nikon D300 .NEF's?

    Hi, I am not a computer expert and I am in a tizzy because I *just* started gaining momentum in learning Elements and then was surprised with a new D300 for Christmas (previously had a D70s which worked great with PSE4.0). So is there any way that I