Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
davinfrost
Contributor III
Contributor III

if nest

hi guys, i wanted to count sales but i have a prob

1.jpg

i used this one

sum(aggr(if(len(trim($(Sales)))>'0','1','0',if(not[Item Name]like '*BONUS*','0','0'))

and that bcd item still counted

 

thanks

3 Replies
Taoufiq_Zarra

@davinfrost 

can you share a sample data ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Chanty4u
MVP
MVP

Not sure try this. if not share the sample data

 

 

sum(aggr(if(len(trim($(Sales)))>'0','1','0',if(not WildMatch[Item Name] '*BONUS*','0','0'))

Dalton_Ruer
Support
Support

Sum(Sales) will return the value of the Sales column. The field with Bonus has a 0 value in your example. Not sure you need to make it so complicated.