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: 
siddharthsoam
Partner - Creator II
Partner - Creator II

Applying aggr in sumif()

I am trying the following expression

sum(if(sum(aggr(sum(EBIDTA),[Customer Group Descr]))<'0',Revenue))

but its giving me a nested aggregation not allowed error.

Can i achieve this in some other way in expression editor

1 Reply
kaushiknsolanki
MVP
MVP

Hi,

Try this.

sum(if(aggr(sum(EBIDTA),[Customer Group Descr])<'0',Revenue))


Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!