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
Hi @Mohini79 ,
What is the error message you are getting?
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
Hi @Mohini79 agree with @danilang
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.