Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

AGGR

Hi

I have a situation where in have to sum up the quantity and count the batch but with the condition where sum of quantity<>0, please help. Data files attached herewith

Thanks in Advance

Vinayagam !

2 Replies
stabben23
Partner - Master
Partner - Master

Hi,

sum(aggr(if(SUM({<POSTINGNUM={"<=$(TEST)"}>}Quantity1_MSEG1)>0,COUNT(DISTINCT(BATCH)),0),BATCH))

Anonymous
Not applicable
Author

thanks mate