Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Bob07
Contributor II
Contributor II

How to calculate cumulative training hours per staff

Hi everyone,

I need your help. I have a data as shown below. I have calculated the sum of training hours per staff for each region. However, I want to calculate the number of staff who have done a total of 8 hours above, 16 hours above, 24 hours above, and 32 hours above. I will then divide these numbers by the headcount for that region as shown below. My values for single  quarter selection are correct, but wrong when I select another quarter. 

Bob07_0-1726561258532.png

Bob07_1-1726561298181.png

 

Labels (2)
1 Reply
kaushi2020
Creator III
Creator III

RangeSum(Above(Sum(DISTINCT {<Year=, Month=, Day = >} [Training Hours]), 0, RowNo())))