Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Filtering by measure

Hi all, 

 

 

I have created a measure that counts the number of employees that are working more than 30 hours. I have then tried to calculate the sum of the working hours filtering by this measure. This is so that I get the hours that each employee has worked overtime.but the problem i have is that i cannot calculate and filter a measure. 

 

Therefore, I would like to be able to create another measure that says if a month is selected then return the number of hours that the employees have been working FILTERING only those that are working more than 30 hours (above measure) else return ALL EMPLOYEES regardless of whether they are working more than 30 hours. 

 

I think my issue here is that i cannot calculate and filter a MEASURE. is there a way to do so? 

2 Replies