Hi,
Please let me know what is wrong in below formula
IF [P_PRODUCT_ID] IN ("1805","1802") THEN "Y" ELSE "N" ENDIF
Thanks in advance
Solved! Go to Solution.
Hi @Mohini79
Check the field type of the [P_Product_ID]. If it's a numeric field, remove the quotes from your In clause [P_PRODUCT_ID] IN (1805,1802)
Dan
Agree with the other commenters, and I would add that if you are creating a new field, make sure the type and size matches your desired output. You could create a Bool field to get a non-string yes or no result.
User | Count |
---|---|
106 | |
82 | |
70 | |
54 | |
40 |