I am working on a requirement that requires me to get a count of job applicants to specific job groups based on date they applied, if they applied to same job group within six months, then I pick up the first application, if its on different job groups within the six months then I count both applications. I have done my modeling but for some reason when I run the analysis, it shows that my logic is not picking up or working as expected and I am not sure where its going wrong. As you can see from my attached screenshot, when an applicant has multiple applications on same date for same job group or counting both of them instead of counting just the first application. Question if there is way to code this in the anaylysis, I have tried MIN on the date but its not working. any suggestion will be welcome