Hello Im trying to build a multi-conditional statement as follows
If([Category]="medicine" and [CountNonNull_Birth_Country]= "5", then "Yes", else "No" endif . For some reason, I get malformed IF statement error at "5". Attached table snapshot below. Thanks in advance!
Solved! Go to Solution.
It is because the column CountNonNull_Birth_COuntry will be INT
Hence when you do the check under "5" double quotes, it is for string.
Many thanks
Shanker V
Please try the formula below :
If ([Category]="medicine" and [CountNonNull_Birth_Country]= 5) then "Yes" else "No" endif
I think you forgot to close parenthesis and CountNonNull type is double that's way I deleted the quotation marks.
Hope this helps!
Regards
If([Category]="medicine" and [CountNonNull_Birth_Country]= 5 then "Yes", else "No" endif
try this (insert a select tool to convert nonull to int16 if not)
@messi007 Thanks, this worked!
Thank you all for the responses.
One more thing - do we know where we can get the sample solutions for the practical questions from the Core certification assessment?