so i want to put calculate field, if the contains selected product, then it appear number of count order (id for transaction) of that product (on this case, using count distinct for order_match_id (its the id for every transaction)
im using this
IF CONTAINS([Selected Product], [Name])
THEN (CNTD([Order Match Id])
ELSE NULL
END
but its says Expected Closing paranthesis for the expression starting at characted 47
the point is, i want to make some else if condition, if the condition true, then appearing count distinct of id transaction to provide how many transaction