Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Formula

AlterMini
6 - Meteoroid

i need a formula to get Column D as shown below based on column B (Region Left) & C (Region Right). Both columns are string types. If data is there in both column, it will be same

 

Sample of the data

 

Record      Region Left     Region Right       Required new column

1                East                                               East

2                                        West                     West

3               North                 North                    North

4               South                South                    South

 

4 REPLIES 4
MarqueeCrew
20 - Arcturus
20 - Arcturus

@AlterMini ,

 

 please try:

 

max([region left],[region right])

 

 cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Hammed
7 - Meteor

Hi @AlterMini,

 

try this

 

IF ISNULL([Region Left ]) THEN [Region Right] ELSE [Region Left ] ENDIF

atcodedog05
22 - Nova
22 - Nova

Hi @AlterMini 

 

Another way of doing it

 

IIF(!IsEmpty([Region Left]), [Region Left], [Region Right])

 

Workflow:

atcodedog05_0-1635669749048.png

 

Hope this helps : )

 

AlterMini
6 - Meteoroid

Thanks MarqueeCreq, Hammed and Atcodedog05

 

Suggestions from Marquee and Atcodedog05 works well. Still Region right is missing in Hameed formula.

Labels