ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Multi-row formula - Duplicate a value in the middle

lolwat12345
6 - Meteoroid

Hello, I have a dataset like this

Multiplier
0
0
0
0.75
0
0
0.5
0

 

I need to convert it to this:

Multiplier
0.75
0.75
0.75
0.75
0.5
0.5
0.5
0

Could anyone help suggest a formula please, tks

1 REPLY 1
Luke_C
17 - Castor
17 - Castor

Hi @lolwat12345 

 

Filling values upwards is trickier than filling down. For this I usually add a record ID, sort the data to reverse the order, do the multi-row, and sort back:

 

image.png

Labels
Top Solution Authors