Start Free Trial

Alteryx Designer Desktop Discussions

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

How to fill a value from following rows

Polite123
8 - Asteroid

Hi Everyone,

 

I need some help in my data for filling 0 values with the closest value available.

 

Input data:

 

MonthsValues
Jan0
Feb0
Mar501
Apr200
May36
Jun81
July 0
Aug0
Sep0
 Oct23
Nov12
Dec1

 

Output data:

 

Only future values are to be considered.

MonthsValues
Jan501
Feb501
Mar501
Apr200
May36
Jun81
July 23
Aug23
Sep23
 Oct23
Nov12
Dec1

 

Any help would be appreciated.Thanks in advance:)

2 REPLIES 2
Ladarthure
14 - Magnetar
14 - Magnetar

Hi @Polite123,

 

I used one simple solution which is to sort at the beginning from december to jannuary, and then use a multi-row formula to duplicate the value, if you had precise dates, it could be even easier.

 

Tell me if it works for you!

Polite123
8 - Asteroid

Thanks a lot ..It works:)

Labels
Top Solution Authors