Forum Discussion

Patricia_LaVish's avatar
Patricia_LaVish
Frequent Visitor
2 years ago
Solved

Count only compliant user

Hi,    I need to count how many users have completed all courses. They're compliant only if ALL courses have completed, otherwise they're not. This is a data example. In this example, user1 should...
  • Anonymous's avatar
    Anonymous
    2 years ago

    it seems like you figured it out, but the reason you were seeing it return 843, was because it was only counting those who had not completed any courses, Non-compliant users should include those who have completed courses, ie: any user whose number of completed course does not equal the number of courses assigned.

     

            [TotalCourses] <> [CompletedCourses]

    So at the end of the measure instead of an =, you would use <> instead of switching Yes to No