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
14 - Magnetar

@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

 

binuacs
20 - Arcturus

@furlonla Another method using multi-row formula

 

binuacs_0-1678746586771.png

 

Labels