Using Crystal Reports XI R2 reading DB2 database.
I am working on a formula that takes a person's hire date and compares it to the end date of a date range parameter. I have two columns that I need to Sum based on this. The first column needs to sum their sales based on the first 12 months from their hire date and the second column needs to sum their sales based on their 13-24 months hired. I've tried using a DateDiff to get the number of months contracted and then summing it and also tried the DateAdd. It gives me a sum of all months contracted. Thanks for any suggestions.
I am working on a formula that takes a person's hire date and compares it to the end date of a date range parameter. I have two columns that I need to Sum based on this. The first column needs to sum their sales based on the first 12 months from their hire date and the second column needs to sum their sales based on their 13-24 months hired. I've tried using a DateDiff to get the number of months contracted and then summing it and also tried the DateAdd. It gives me a sum of all months contracted. Thanks for any suggestions.