Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SET ANALYSIS - COUNTIF

Hi ,

Please assist with the syntax for the set analysis.

I want to do a count if DATE1>DATE2 and COUNT the number field.

Thus,

=Count({DATE1>=DATE2}[NUMBER])

Thanks in advance.

5 Replies
Anil_Babu_Samineni

=count({$<DATE1 = {">DATE2"}>}number)

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
Not applicable
Author

Hi,

Set analysis could be used for filtering the records, it can be used to filter the records for certain range of dates it could not compare. you can use simple if function .

tyagishaila
Specialist
Specialist

Hope it will work,

Count({<Date1 = {">=$(Date1)"}>}Number)

tresesco
MVP
MVP

Try like:

=Count({<DATE1={"=DATE1>=DATE2"}>}[NUMBER])


Make sure that DATE1 and DATE2 have similar date formats.

muthukumar77
Partner - Creator III
Partner - Creator III

Hi,

Refer this App.

Muthukumar Pandiyan