Thanks but it doesn't work because I don't need to display, I just need to get the total.
I used
=Sum(RunningCount([DevDay2].[Course Date];([DevDay2].[Emp Code])))
Where [DevDay2].[Course Date] is the course date and [DevDay2].[Emp Code] is the employee code and the result was "1".
BTW, what is "Sub Type Text"?