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: 
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 (2)
1 Solution

Accepted Solutions
agigliotti
Partner - Champion
Partner - Champion

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

View solution in original post

2 Replies
agigliotti
Partner - Champion
Partner - Champion

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