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: 
zototo
Contributor III
Contributor III

Multiple criteria in an expression

Hi everyone, 

Hope to get some help.  What I need in the result is to have the COUNT of SHOP_NAME where both Game Suppliers "GF" and "PS" Count Game >0. 

I've tried different expressions but none of them is giving me the right result. Here's the latest one, but still it gives me the sum of shops where is only GF and only PS:

count({ $< COUNT_GAMES = {"=COUNT_GAMES > '0'"}, TermType = {'TB'}, [Game Supplier] = {'GF'}>+ <COUNT_GAMES = {"=COUNT_GAMES > '0'"}, TermType = {'TB'}, [Game Supplier] = {'PS'}>} distinct SHOP_NAME)

Would be great to have any ideas here.

Thank you!

Labels (3)
10 Replies
MayilVahanan

Hi

Try like below

Count({ $< SHOP_NAME= {"=Sum(COUNT_GAMES )> 0"}, TermType = {'TB'}, [Game Supplier] = {'GF'}>+ <SHOP_NAME = {"=Sum(COUNT_GAMES )> 0"}, TermType = {'TB'}, [Game Supplier] = {'PS'}>} distinct SHOP_NAME)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.