impalacrazy
IS-IT--Management
I've been stairing at the computer all day and the solution may be right under my nose but i cant see it so hopefully someone else can. here is my issue:
I have one table that has multiple lines for one employee becasue each type of benefit an employee has is considered its own line. (example of table data)
emp# plan type emp contribution
1602 401K 6.8 %
1602 401M 13.2 %
1602 DBC1 $ 136.52
1602 HSEE $ 33.95
1733 401K 7 %
1733 DBC1 $ 453.77
1733 LTD3 $ 16.28
1922 401K $ 280.00
1922 401M $ 620.00
now what i am trying to do is take what is in the 401K emp contribution field and what is in the 401M emp contribution field and produce a total number. Here is what i have in my formula thus far:
if {BENEFIT.PLAN-CODE} startswith '401'
and {BENEFIT.PCT-AMT-FLAG} = 'P' then
{BENEFIT.EMP-CONTRIB}
now i am currently trying to take this formula and use it in a new one that will display the total of the two records in one field. is this even possible or am i wasting time...
thanks
Ivan
I have one table that has multiple lines for one employee becasue each type of benefit an employee has is considered its own line. (example of table data)
emp# plan type emp contribution
1602 401K 6.8 %
1602 401M 13.2 %
1602 DBC1 $ 136.52
1602 HSEE $ 33.95
1733 401K 7 %
1733 DBC1 $ 453.77
1733 LTD3 $ 16.28
1922 401K $ 280.00
1922 401M $ 620.00
now what i am trying to do is take what is in the 401K emp contribution field and what is in the 401M emp contribution field and produce a total number. Here is what i have in my formula thus far:
if {BENEFIT.PLAN-CODE} startswith '401'
and {BENEFIT.PCT-AMT-FLAG} = 'P' then
{BENEFIT.EMP-CONTRIB}
now i am currently trying to take this formula and use it in a new one that will display the total of the two records in one field. is this even possible or am i wasting time...
thanks
Ivan