Jump to content
  • 0

How to combine when and & in a calculated filed


BjornSkifs

Question

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?

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...