I am attempting to create a report that will count the number of employees within a certain range of employment. Over 90 days, 61 to 90 days, 31 to 60 days, and 0 to 30 days. I will also have to report them by shift and plant wide...
I know that using Dcount I should be able to create a function that will make this calculation but so far I havent had any luck.
What I would like is for DCount to count the number of Employee IDs (Column name "ID") in the table "Employee Information" which have a hire date (column "Hire Date") that falls before today's date minus 91, and then another function for between today's date minus 90 and today's date minus 61 ... and so on. If someone wouldnt mind helping it I would greatly appreciate it.
Here is the function that I am currently trying to make work...
=dcount([ID], "Employee Information Table", "[Hire Date] = before '# date()-90 #'")
if you can tell me what's wrong with it that would also help me in the future I think.