Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sunil-kumar5
Creator II
Creator II

current month count

Hello All,

I need to get the count of current year however we have some future dated records as well so I just want it to fix as today, can anyone please help. What condition I can use in my below expression.

Count( {<RYear ={'$(=Year(Today()))'}>} Distinct LicenceNo )

Thanks

 

3 Replies
MayilVahanan

Hi Sunil,

Try like below

Count( {<RYear ={'$(=Year(Today()))'}, DateField = {"<=$(=Date(Today(),'YourDateFieldFormat'))"}>} Distinct LicenceNo )

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
sunil-kumar5
Creator II
Creator II
Author

Hi Mayil,

Its giving a zero as a result any other correction please.

Thanks

Sunil Kumar

MayilVahanan

Hi Sunil,

Can you please send the sample app?

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