Hi ,
I used match command in eval wildcards like below: shop_tags have many tags, A and B just two of them to identify different products.
eval products = case (match(product_tags,"A"), "a", match(shop_tags,"B"), "B")
However, I have product C, but it has two different types: e & f. I want to create a new name as C_old if it matches C & e, C_new if it matches C & f. I am not sure how to match two labels at the same time. I was trying:
eval products = case (match(product_tags,"A"), "a", match(shop_tags,"B"), "B",match(shop_tags,"C" & "e"), "C_old",match(shop_tags,"C" & "f"), "C_new")
but it is not working.
Can anyone help us to match two labels at the same time? Thanks very much.
... View more