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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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 (3)
1 Solution

Accepted Solutions
agigliotti
MVP
MVP

maybe this:
=Count( {< PART_NUMBER -= {"''"} >} if( NEED_BY_DATE >= date(today()), NEED_BY_DATE ) )
Regards
The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

2 Replies
agigliotti
MVP
MVP

maybe this:
=Count( {< PART_NUMBER -= {"''"} >} if( NEED_BY_DATE >= date(today()), NEED_BY_DATE ) )
Regards
The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
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