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: 
Not applicable

Set Analysis

Can anyone please help me find out what is wrong with this expression

 

Sum({1}(If(mixmatch(FCRProduct,'Pegasys','Transplant','Nutropin','Lytics'), Aggr(max(TerrCount),FCRProduct))))

Labels (1)
2 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi Swati,

Try like this

=Sum({1}Aggr(If(mixmatch(FCRProduct,'Pegasys','Transplant','Nutropin','Lytics'), max(TerrCount)),FCRProduct))

Regards,

Jagan.

Anonymous
Not applicable
Author

Hi,

Try below,

Sum({1} Aggr(Max(If(MixMatch(FCRProduct,'Pegasys','Transplant','Nutropin','Lytics'), TerrCount)), FCRProduct))