Alteryx Designer Desktop Discussions

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

Fill empty cells based on previous rolls, grouped by other field

mauricio
8 - Asteroid

Hi!

 

I'm trying to fill some blank cells with the following logic:

If the cell in [value] is blank, then search the rows with the same [key] find the mode of the [value] with the same [key], them, fill the blank with the mode.

 

mauricio_2-1623158189227.png

 

 

I tried to use the multi row formula, with no success

Any help will be very much appreciated

regards.

4 REPLIES 4
jamielaird
14 - Magnetar

Hi @mauricio ,

 

Here's one approach that works:

 

jamielaird_0-1623159630176.png

 

 

Part of your logic means there were a few extra steps required here above what I expected - particularly how we handle null values.

 

Hopefully it all makes sense but let me know if you have any questions.

mbarone
16 - Nebula
16 - Nebula

The Imputation Tool on the Preparation palate should do it for you:
2021-06-08 14_17_55-Greenshot image editor.png

mauricio
8 - Asteroid

Hi mbarone, thank you for the reply

Unfortunately the imputation tool cant group by values based on another field.

This solution appear to give a output different than the desired

mauricio
8 - Asteroid

That will work just fine.

Thank you jamielaird

 

The solution is much bigger than I expected, but a can't see another way to solve this problem.

Labels