Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Syntax problem trying to use Row-1

MarshallG
8 - Asteroid

Hi all-

 

Can you please help me troubleshoot my syntax below. I am trying to fill null values with the previous row's value using the Multi-Field Formula tool and am getting a formula error of "Unknown variable...".

 

if IsNull( [_CurrentField_] )

then ([Row-1:_CurrentField_] )

else [_CurrentField_]

endif

 

 

Thanks!

2 REPLIES 2
chris_love
12 - Quasar
Hi

I'm afraid you can only use Row-1 in Multi-row formula. Not multi-field.

If you need multi-field over multiple rows then there are a few posts
already on the forum on that subject. I wont search for them as I'm sure
you will br able to find them - they were well titled.

Chris
MarshallG
8 - Asteroid

Got it. Thanks!

Labels
Top Solution Authors