Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

Hi,

You can try this also with complete SET analysis statement

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

 

Regards,

Anand