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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Greater than operator with AGGR

Hi All,

I am trying to calculate the following expression but it is giving me '0' in the result.

count(DISTINCT(if(aggr(sum(CNT_SF_NPP),PROF_SK,TIME_SK, PROD_SK)>>1,PROF_SK)))

whereas the below formula is giving me the desired result

count(DISTINCT(if(aggr(sum(CNT_SF_NPP),PROF_SK,TIME_SK, PROD_SK)=1,PROF_SK)))

Can't i use '>>' function with if(aggr.... or if I am doing something wrong?

Thanks
Arun

1 Reply
rubenmarin

Hi Arun, Greater than operator is '>', not '>>'