Alteryx Designer Desktop Discussions

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

how to replace a empty data with null

TonyMu
8 - Asteroid

Hello, 

 

I have an input data which looks like this: 

 

Codevalue
211324
Z43564
L36798
349867
LP5423
984459
2T11121
114112

 

 

 

I output should look like this (exactly in this order):

 

 

CodeValue
2T11121
Z43564
25Null
114112
984459
16Null
211324
L36798
349867

 

 

 

Input file can change time to time and might always contain the same codes while the output format is always the same. 

 

I want the values to be filled in output file when the code exists in the input and all the codes that do not exist in input file should be Null or blank. 

 

I have used the filter tool but it returnes a empty data if the criteria is not fullfilled, for example " [Code]= "16" " within a filter will return an empty data considering that code 16 does not exist in the input file. 

 

any ideas for a solution?

thanks in advance,

Tony

4 REPLIES 4
joshuaburkhow
ACE Emeritus
ACE Emeritus

Is it something simple like this? 

 

joshuaburkhow_0-1603193558928.png

 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
TonyMu
8 - Asteroid

Hi

 

 

 

Blake
12 - Quasar

@TonyMu You just need a record ID, sort, and select added to the workflow that @joshuaburkhow provided to get your desired results. 

 

Blake_0-1603198005064.png

 

TonyMu
8 - Asteroid

you guys are just amazing! thanks thats what I need!

Labels