Posted 9 May 2018, 8:59 pm EST
I am trying to define the value for one of the series values in my chart. I would like the value that is calculated to only count the number of employees for which a certain condition exists. I have tried the below expressions:
Count(iif([TrainingCategoryID] = 2 , [EmployeeNo], 0)
Iif([TrainingCategoryID] = 2, count([EmployeeNo],0)
Count([EmployeeNo] where [TrainingCategoryID = 2)
But all of them give me the total number of employees if the condition was met in any 1 of the lines in the dataset.