Valid if to allow duplicate values in a column based on values in another column

I want to allow duplicate values in the field external order id, if the value of order type is repeat.

I am trying to use the following cote (I’m a noob):

and( [_thisrow].[order type] = “New”, Not(IN([_this],Select(FSV[External Order ID],true))))

Order Type accepts two values (enum) - New/ Repeat.

I want External Order ID to accept a duplicate value as long as order type for that particular row is Repeat

How can I do that?

Solved Solved
0 4 834
1 ACCEPTED SOLUTION

OR(
  [order type] = "Repeat" ,
  NOT( IN( [_THIS] , FSV[External Order ID] ) )
)

View solution in original post

4 REPLIES 4
Top Labels in this Space