Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
mithunr40
Contributor III
Contributor III

Set Analysis: day()

How to calculate the number of employees who was hired on the first day of the month (any month). They give me the  fields and functions to use in set analysis: EMPLOYEE_ID, HIRE_DATE, day()

Please help me out to solve this problem.

 

Thank you.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

@Pavanvh you are a quick learner. 🙂 Just 'distinct' is missed - I guess. 

Count(Distinct {<HIRE_DATE={"=Day(HIRE_DATE)=1"}>} EMPLOYEE_ID)

View solution in original post

3 Replies
Pavanvh
Contributor II
Contributor II

Try Below

Count( {<HIRE_DATE={"=Day(HIRE_DATE)=1"}>} EMPLOYEE_ID)

tresB
Champion III
Champion III

@Pavanvh you are a quick learner. 🙂 Just 'distinct' is missed - I guess. 

Count(Distinct {<HIRE_DATE={"=Day(HIRE_DATE)=1"}>} EMPLOYEE_ID)

mithunr40
Contributor III
Contributor III
Author

Thank you @tresB