I have a data set that contains the following columns, training id, employee id, training question id (each training contains multiple questions), training completion status (i.e., passed, failed, to do).
We have this beast mode calculation to identify the number of employees that have passed the training:
case when `training completion status` = 'Passed' then count(distinct training id, employee id) end
We have this beast mode calculation to identify the number of total trainings assigned to employees:
count(distinct training id, employee id)
We need to calculate percent of employees who passed the trainings. We have tried the following calculation and it returns nothing:
(case when `training completion status` = 'Passed' then count(distinct training id,employee id) end )/(count(distinct training id, employee id))
Unfortunately, we cannot use an ETL to summarize the data at the training employee level prior to building the card.
Thanks in advance