Alteryx Designer Desktop Discussions

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

Simple formula

Gaetano_B
8 - Asteroid

Hello, 

 

Could you kindly help me create this formula. If Work Region2 is empty and SCL SID is equal to "R559485",  "B569945" then Work Region2 should say "Onshore - Intl Sales".

 

Thank you in advance. 

 

 

Work Region2SCL SID
  
Onshore - Intl Sales 
 R559485
  
 B569945
Offshore - Intl Sales 
3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Gaetano_B 

 

Use this use formula on Work Region2

 

 

IF IsEmpty(Trim([Work Region2]," ")) AND
[SCL SID] in ("R559485", "B569945")
THEN "Onshore - Intl Sales" 
ELSE [Work Region2] ENDIF

 

 

 Like below:

atcodedog05_0-1603212543743.png

IsEmpty() checks both nulls and blanks

 

Input:

atcodedog05_0-1603212731218.png

Output:

atcodedog05_1-1603212748729.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

StephV
Alteryx Alumni (Retired)

Hi @Gaetano_B

 

Thank you for your question to the Community!

 

I moved your post to the Designer Discussions forum there you can ask anything technical about Designer.  This article "Q&A: Where Do I Post My Questions?" should also help you out. 

 

If this @atcodedog05  's post helped you please mark it as solution

Thank you!

 

Let us know if you need any help! 

Cheers,

 

Steph Vitale-Havreng
atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @Gaetano_B 

 

Cheers and Happy Analyzing 😀

Labels