Free Trial

Alteryx Designer Desktop Discussions

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

multi row , row +2 value

BRRLL99
11 - Bolide

Hi, i have following data set, using multi row formula , i want to get expected output, since i have multiple columns i dont want to use crosstab

AccNAMESAFID
SA100A  
 100BRM 
    
  VA 
DF100D  
 100FRM 
    
  VA 

 

Expected output:

AccNAMESAFID
SA100A  
 100BRM100B
    
  VA100B
DF100D  
 100FRM100F
    
  VA100F
6 REPLIES 6
ShankerV
17 - Castor

Hi @BRRLL99 

 

Please use the below formula in Multi-Row formula.

It works as per your expected output.

 

IF Isempty([SAF])
THEN null()
ELSEIF Isempty([NAME])
THEN [Row-2:NAME]
ELSE [NAME]
ENDIF

 

Many thnaks

Shanker V

aatalai
14 - Magnetar

Also make sure you set the number of rows to 2

BRRLL99
11 - Bolide

there is slight change in my original data

AccNAMESAF
SA100A-98786-99 
 100B-12345-00 
  RM
   
  VA
DF100D-32190-88 
 100F-33333-00 
  RM
   
  VA
binuacs
21 - Polaris
BRRLL99
11 - Bolide

thank you for your reply
is it possible with only one multi row formula?

instead of using multiple tools

binuacs
21 - Polaris
Labels
Top Solution Authors