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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
malimohammed
Partner - Contributor
Partner - Contributor

>Today, AND, OR Condition in set analysis

Hello,

I need a set analysis expression for a condition but unable to accomplish it.

count( if (Code is not null) and (EndDate is null or greater than today))

I would appreciate if anyone can help me on this.

1 Solution

Accepted Solutions
sunny_talwar

May be something like this:

Count({<Code = {"=Len(Trim(Code)) > 0"}, EndDate = {"=Len(Trim(EndDate)) = 0"}+{"$(='>' & Date(Today(), 'YourEndDateFormatHere'))"}>} FieldYouAreCountingHere)

View solution in original post

3 Replies
sunny_talwar

May be something like this:

Count({<Code = {"=Len(Trim(Code)) > 0"}, EndDate = {"=Len(Trim(EndDate)) = 0"}+{"$(='>' & Date(Today(), 'YourEndDateFormatHere'))"}>} FieldYouAreCountingHere)

malimohammed
Partner - Contributor
Partner - Contributor
Author

Looks Perfect. Thanks a lot

prma7799
Master III
Master III

sunindia

Salute to you Boss....