Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Replacing a null value with a different row's value

benjaminmartin16
6 - Meteoroid

Hello all,

 

I am working in alteryx and trying to prevent data loss that occur due to null values. One idea I have is that a null value may appear in a row but is actually something that a different row has the correct value for. I have tried to display this dilemma with the image below:

benjaminmartin16_0-1664983066641.png

 

I have typed some script on the side that to me sounds like it would work but I am not sure how to operationalize it into alteryx. Could anyone help me out? Additionally, does this sort of problem have a name that I could use to do further research on?

 

Thanks so much for your time and effort:)

Ben M

 

 

3 REPLIES 3
Christina_H
14 - Magnetar

Check out the multi-row formula tool, that will do what you need.

Christina_H_0-1664983839530.png

 

Garabujo7
Alteryx
Alteryx

Hello @benjaminmartin16 ,

 

You can do that with the Multi-row formula.

 

Garabujo7_0-1664983918187.png

 

The greatest thing about this tool is that you can work with rows above or below and that will allow you to do what you are looking for.

 

Gabriel

binuacs
21 - Polaris

@benjaminmartin16 One way of doing this with the Multi-Row tool

 

binuacs_0-1665005751526.png

 

Labels