Start Free Trial

Alteryx Designer Desktop Discussions

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

First non blank Record

missteran
7 - Meteor

Hi Alteryx Community - I'm trying to find a way how to get the first non-blank record for a records with the same key. I've put a before and after of what i'm looking for. Can someone please help? Thanks!

 

Before:

Line of BusinessIDTypeCommitmentUtilized
Melissa123456House $     100,000 
Melissa123456   $      55,000
Melissa958754Condo $     200,000 
Melissa958754   $      75,000
Melissa156448Building $800,000.00 
Melissa156448   $500,000.00

 

After:

Line of BusinessIDTypeCommitmentUtilized
Melissa123456House $     100,000 
Melissa123456House  $      55,000
Melissa958754Condo $     200,000 
Melissa958754Condo  $      75,000
Melissa156448Building $800,000.00 
Melissa156448Building  $500,000.00

 

3 REPLIES 3
alexnajm
19 - Altair
19 - Altair

The Multi-Row formula tool should be used to cascade that value down! Something along the lines of:

IF [Type]=Null() THEN [Row-1: Type] ELSE [Type] ENDIF

Qiu
21 - Polaris
21 - Polaris

@missteran 
Based on reply from @alexnajm , I usually put a record ID before processing and a Sort to make sure the Empty value for "Type" is on downward.

In the multi-row tool, we need to do Group as well.

0822-missteran.png

missteran
7 - Meteor

Thank you Qiu and Alex the last solution worked!!!

Labels
Top Solution Authors