Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Making fields null that contain 3 letters

furlonla
8 - Asteroid

Hi,

 

I am try to make fields nulls or blank which contain 3 letters (currency code). Is there any way to do this, please see screenshot of sample data attached.

Current Input

BankDebt-GT110 VALE - GS1VALE (272930) 
  
EUROpening Balance (Settle Date)
  
GBPOpening Balance (Settle Date)

 

Desired Output

BankDebt-GT110 VALE - GS1VALE (272930) 
  
 Opening Balance (Settle Date)
  
 Opening Balance (Settle Date)

Thanks,

Laura

 

2 REPLIES 2
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@furlonla here's one way:

BS_THE_ANALYST_0-1678746268679.png

 

Making use of the Length function. If Length of string = 3, then replace with null, else, keep existing value:

BS_THE_ANALYST_1-1678746311901.png

You can edit the length logic to whatever you like i.e. if length <= 3 then null etc.

Thanks,
BS

 

All the best,
BS

LinkedIN

Bulien
binuacs
21 - Polaris

@furlonla Another method using multi-row formula

 

binuacs_0-1678746586771.png

 

Labels
Top Solution Authors