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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

set

how do we include greater than today into below set analysis ,

=count({<[Level]={'N'},

[Gate={2}>}[customer])

Regards

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

=count({<Level={'N'}, Gate={2}, DateField = {"=DateField > Today()"}>}[customer])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

5 Replies
Anil_Babu_Samineni

May be this?

=count({<Level={'N'}, Gate={2}, DateField = {"=DateField > Today()"}>}[customer])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

count({<

[Level]={'N'},

[Gate]={2},

YOURDATEFIELD={">=$(=date(today()))"}

>}[customer])

srishsum2017
Creator
Creator

Today means the current date so how you compare by the today, because either somebody want data of today or previous days....so please first clear your question...

other wise expression for greater than is-

=countt({<Date={'>=Today()'},[Level]={'N'},[Gate]={2}>}[customer])

Sumit Kumar Srivastava
Anonymous
Not applicable

I think you can't use the syntax like that, even you do it like Anil or like me ...

srishsum2017
Creator
Creator

I am just giving an example how to use greater than in set analysis, other wise the best practice to store your dates which you want in variables, then use it.

Sumit Kumar Srivastava