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

Script


Hey Guyz ,

I need Help here is my Question

i have a field for example

Renuwel Date

5/25/2015

4/31/2015

3/12/2015

i need to calculate the number of  Renuwel Date > today

count(Renuwel Date)>today

How can i write this in a set analysis

Thank you,

12 Replies
robert_mika
Master III
Master III

=count({<[Renuwel Date] = {">$(=[Renuwel Date](today()))"} >}[Renuwel Date])

anbu1984
Master III
Master III

Count(If(RenewalDate > Today(),1))

mario-sarkis
Creator II
Creator II
Author

hi Robert i wrote it like this didn't work

count({<[KYC Renewal Date]={">$=Today()"}[KYC Renewal Date])

it didnt work where is my mistake ? can you help ?


prajapatiamar38
Creator II
Creator II

Hi,

Try using this expression.

=Count({<[Renuwel Date]={">$(vA)"}>}[Renuwel Date])

Here vA is variable For Today's Date.

nagaiank
Specialist III
Specialist III

You may try this

Sum( If(RenewalDate > Today(), 1, 0) )

t_moutault
Contributor III
Contributor III

hi

count({<[KYC Renewal Date]={">$=Today()"} >} [KYC Renewal Date])

anbu1984
Master III
Master III

count({<[KYC Renewal Date]={">$(=Today())"> }[KYC Renewal Date])

robert_mika
Master III
Master III

Sorry my mistake:

=count({<[KYC Renewal Date] = {">$(=Date(today()))"} >}[KYC Renewal Date])

Anonymous
Not applicable

try  this

=Count ({$< [Renuwel Date]= {">$(=Today())"}>}[Renuwel Date])