Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis for Date Range


Hi,

i'm working on HR KI,

i need to calculate the turn over for stuff = (terminated / current active)*100

this should be for terminated employee with in a date Range

tbl.png

in my example if i need to get the turn over for Aug, i have one emp terminated.

where i have 12 active employee.

=Count({$ <EmpStatus={'Active'} >} DISTINCT EmpCode)

this is not working with me. any idea?

4 Replies
Anonymous
Not applicable
Author

but u are using  EmpStatus= {'Active'}    in set analysis  is that you mark terminated emplyee Active

just check correct field and see your database i am sure you will get your answer.

anant

Not applicable
Author

I tried all below:

=Count({$ <EmpStatus={'Active'} >} DISTINCT EmpCode)

//=Count({$ +<TYPE={'H'} >} DISTINCT EmpCode)
//=Count ({$ +<EmpStatus={'Active'}, hiring_date ={"<=TerminationDate"}>} DISTINCT hiring_date)
//=Count({$ <TerminatedFlag={'Y'} >} DISTINCT TDate)
//=count ({< hiring_date {"=Aggr(hiring_date<=TerminationDate)"}>} DISTINCT EmpCode)
//=Count({$ <EmpStatus={'Active'}, hiring_date  ={">=Date(TerminationDate)"} >} DISTINCT EmpCode)

i'm trying to use a date Range so i can get all active emplyee up to last date.

suresh_rawat
Creator II
Creator II

Hi Omar,

Can you please attach a qvw with sample data.

We'll surely sort out your problem.

Regards

Suresh Rawat

Not applicable
Author