Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to fill null cells with the last row that has information

KarenHM
7 - Meteor

Hi team 

 

I need to fill the cells Tasa GL, but in some rows i have nulls , so I want to complete these with the information that I have in the last row before the null.  

this is the sample example 

KarenHM_1-1685133870695.png

 


I used this multirow formula but only works when the null is one, not when I have more rows with null 

KarenHM_0-1685133833313.png

 

 

Many thanks 

2 REPLIES 2
geraldo
13 - Pulsar

@KarenHM 

 

formula

 

//first is null
if IsNull([col1]) and IsNull([Row-1:col1]) then [col1]
elseif IsNull([col1]) and !IsNull([Row-1:col1]) then [Row-1:col1]
else [col1]
endif

flying008
14 - Magnetar

Hi, @KarenHM 

 

Multi-Rows Formula in [Tasa GL] :

 

IIF(Isempty([Tasa GL]), [Row-1:Tasa GL], [Tasa GL])
Labels