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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I make a calculation with Today() in a Set analyses?

I want to count the number of incidences where the datafield ( a date) is BEFORE today. I have tried this

Count({1<Deadline_Date={'<Today()'}>} Deadline_Date)

but it does give me the result

10 Replies
jyothish8807
Master II
Master II

Hi Soren,

Create a field in script:

in script:

Load

Deadline_Date,

Date(floor(Deadline_Date),'DD/MM/YYYY') as Deadline_Date_new

from <>;



In exp:

Count({<Deadline_Date_new={"< $(=date(Today(),'DD/MM/YYYY'))"}>} Deadline_Date)


Regards

KC

Best Regards,
KC