I try to combine WHEN and the logical operator AND in a calculated field, but I can't get it right.
Among other things, I have tried the following:
CASE
WHEN ([@field:Language]='English')&([@field:Country]='USA') THEN 2
ELSE 1
END
I have also tried to construct the problem so that I can avoid using the AND operator, but I haven't succeeded. (The actual problem is more complex than the above example).
Any suggestions as to how I should write this? Is it even possible to combine WHEN and AND in this way?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
BjornSkifs
I try to combine WHEN and the logical operator AND in a calculated field, but I can't get it right.
Among other things, I have tried the following:
I have also tried to construct the problem so that I can avoid using the AND operator, but I haven't succeeded. (The actual problem is more complex than the above example).
Any suggestions as to how I should write this? Is it even possible to combine WHEN and AND in this way?
I'm very grateful for any help.
Bjorn
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.