Alteryx Designer Desktop Discussions

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

Filling Null Values

aliciadavoudpour
6 - Meteoroid

I have a data set with blanks like this:

Model

Series

MortimerN2
Mortimer 
RebelRo2
RebelRo2
Rebel 
SummetP2
Summet 
WoodV2
WoodV2
Wood 

 

I am trying to replace the null values in the series column with the following:

- if mortimer = N2

- rebel = Ro2

- summet = P2

- Wood = V2

 

I tried this formula:

 

If IsNull([Series]) and [Model]="Mortimer" then "N2" Else[Series] Endif  but when I check the output the value is still Null, so it does not work... not really sure what else to do. 

 

Also, it's worth mentioning there are other values in the model and series column that what is shown, but I only need to fill these specific values. 

 

Any help is much appreciated 🙂

2 REPLIES 2
lindsey13
5 - Atom

The data probably isn't actually a "null" value. Try using cleanse to get rid of leading/trailing blank spaces in Series. Then use your equation except instead of "Ifnull" use the "Ifempty" function. Let me know if this doesn't work, but I hope it helps! 🙂 

aliciadavoudpour
6 - Meteoroid

Yes, that worked! thank you!!

Labels
Top Solution Authors