Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
ALTER.NEXT:

Join us on Dec 2 for a half-day virtual analytics + data science event!
US & CA customers only

SAVE YOUR SPOT
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
SOLVED

Simple formula

Highlighted
7 - Meteor

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 
Highlighted
17 - Castor

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 😀👍

Highlighted
Community Manager
Community Manager

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,

 

StephJ
Highlighted
17 - Castor

Happy to help 🙂 @Gaetano_B 

 

Cheers and Happy Analyzing 😀

Labels