Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
saivina2920
Creator
Creator

Date count not coming properly for past 30 days from today

EMP_RELIEVE_DATE
--------------------------
13/07/2020
24/07/2020
07/08/2020


=count(DISTINCT if((Date(EMP_RELIEVE_DATE,'DD/MM/YYYY') - Today() and Date(EMP_RELIEVE_DATE,'DD/MM/YYYY') - Today() > 20) ),EMP_RELIEVE_DATE))

i am getting count people who are relieving from today and past more than 30 days

I have 3 records in that count. but, I am getting "zero" count

what is the problem in the expressions.

=count(DISTINCT if((Date(EMP_RELIEVE_DATE,'DD/MM/YYYY') - Today() and Date(EMP_RELIEVE_DATE,'DD/MM/YYYY') - Today() > 30) ),EMP_RELIEVE_DATE))

Labels (1)
11 Replies
saivina2920
Creator
Creator
Author

can anyone check the file and give us the correct count..this is urgent and i am waiting..

MayilVahanan

Hi @saivina2920 

Kush already replied to this one..

https://community.qlik.com/t5/New-to-QlikView/Date-count-not-coming-properly-for-past-10-days-and-10...

Hope it helps you

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.