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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
khaycock
Creator
Creator

Count If Set Analysis

I have an expression that I am trying to combine set anaylsis and a count if, but I can't seem to get the combination right. These are the two separate expressions that I am trying to combine:

=Count({<PART_NUMBER-={"''"}>}NEED_BY_DATE)

=count(if(NEED_BY_DATE < date(today()),0))

Any ideas?

Labels (3)
1 Solution

Accepted Solutions
agigliotti

maybe this:
=Count( {< PART_NUMBER -= {"''"} >} if( NEED_BY_DATE >= date(today()), NEED_BY_DATE ) )
Regards

View solution in original post

2 Replies
agigliotti

maybe this:
=Count( {< PART_NUMBER -= {"''"} >} if( NEED_BY_DATE >= date(today()), NEED_BY_DATE ) )
Regards
its_anandrjs
Champion III
Champion III

Hi,

You can try this also with complete SET analysis statement

=Count( {< PART_NUMBER -= {"''"},  NEED_BY_DATE ={">=$(=date(today( )) )"}  >}  NEED_BY_DATE  )

 

Regards,

Anand