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

Announcements
Maximize ROI with Qlik Professional Services – Expert Guidance, Faster Results: Explore Qlik Services
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to count dates?

Thanks in advance to answer this simple question.

I have a list  of duties and dates. A worker can do several jobs in the same date. I need to count how many days has he/she been working, taking in considetarion that 3 jobs in 05/12/2011 is only 1.

How to do count 1 day if in the list I have 3 times the 05/12/2011??

Thanks in advance

1 Solution

Accepted Solutions
Not applicable
Author

that could be. does this work?

Count(Distinct date(TPE_FEC))

View solution in original post

4 Replies
Not applicable
Author

try Count(Distinct date)

Not applicable
Author

Thanks but it doesn't work.  I have put    COUNT( [DISTINCT] TPE_FEC) without  "," or something else but it doesn't work.  The format of the date is YYYY-MM-DD  HH:MM:SS . Could be this  the problem??

Not applicable
Author

that could be. does this work?

Count(Distinct date(TPE_FEC))

Not applicable
Author

IT WORKS ¡¡¡   thanks very much.