Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
15 - Aurora

Hi, @KarenHM 

 

Multi-Rows Formula in [Tasa GL] :

 

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