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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
neerajthakur
Creator III
Creator III

Comparing Date in Set Analyis

Please help me with this.

count({<current_license_flag={'1'},status_id={'8'},[Expiry Date]={">=$(=vToday()"}>}distinct ref_id)

vToday is Num(Today())

Expiry Date is in timestamp format. How can I compare both date.

Thanks & Regards,
Please Accepts as Solution if it solves your query.
1 Reply
rubenmarin

Hi, there is no need to use () is the valriable, just in the today() function.

You can try with 

- [Expiry Date]={">=$(vToday)"}

- [Expiry Date]={">=$(=vToday)"}

- [Expiry Date]={">=$(=Timestamp(vToday))"}

- [Expiry Date]={">=$(=Timestamp($(=vToday)))"}