I want to update Column [Product Family] and there are three filters while binaryAnd accepts two only.
IF BinaryAnd([Plant]="A",[Product Family]="B",[Product Category]="C") THEN "X" ELSE [Product Family] ENDIF
How to deal with that?
I have sometime more than 4 filters too.
Solved! Go to Solution.
Hi @RonitGupta
You can type @ which will list down the group of members you need to select.
I will select @
Hope this helps!!!!
Many thanks
Shanker V
Hi @RonitGupta
When you reach the level 6 (you are current at level 5), you will be able to mention users.
https://community.alteryx.com/t5/Alteryx-Community-Resources/FAQs-User-Ranks/ta-p/178548
Hi @RonitGupta
It is not working becoz the country is a column and it is not inside []
IF [Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND Country="Canada" OR [Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND Country="Colombia" THEN "Disruptor" ELSE Null() ENDIF
Please use parenthesis.
Hi @RonitGupta
Please find the revised formula. This works.
IF [Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND [Country]="Canada"
THEN "Disruptor"
elseif [Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND [Country]="Colombia"
THEN "Disruptor"
ELSE Null()
ENDIF
Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.
If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!
Many thanks
Shanker V
Hi @RonitGupta
Even we can use OR to simplify out if statement.
The below formula also works.
IF ([Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND [Country]="Canada")
OR
([Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND [Country]="Colombia")
THEN "Disruptor"
ELSE Null()
ENDIF
What I have done is I have grouped the condition via ().
Condition 1: ([Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND [Country]="Canada")
Condition 2: ([Product Category]="Absorb, Blott, Chrom" AND [COMM Grade]="MHPM0240" AND [Country]="Colombia")
If either one condition is true it will reflect "Disruptor"
Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.
If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!
Many thanks
Shanker V