Alteryx Designer Desktop Discussions

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

iterative Macro From right column to left Column

BRRLL99
11 - Bolide

Hi

 

I have two datasets, I'm looking to build Iterative Macro, where expected output should pick from right to left column

 

h1h2h3h4
product1   
product2   
product3sub1  
product4sub2  
product5sub3sub_1_1 
product6sub4sub_1_2sub_2_1

 

hmapped
sub_2_1a
sub_1_2b
sub_1_1d
sub2f
sub4k
sub3m
sub1o

 

 

Expected Output:

h1h2h3h4m
product1    
product2    
product3sub1  o
product4sub2  f
product5sub3sub_1_1 d
product6sub4sub_1_2sub_2_1a

 

  
  
  
  
  
  
  
  
5 REPLIES 5
FrederikE
13 - Pulsar

Hey @BRRLL99,

 

Your expected Output is just a join between column h1 of the main table and h in the second one - why do you need an iterative macro for this? 

binuacs
20 - Arcturus

@BRRLL99 One way of doing this without iterative macro

binuacs_0-1679300810410.png

 

BRRLL99
11 - Bolide

I want my expected output in iterative macro 

because I have multiple columns

Pang_Hee_Choy
12 - Quasar

or you get the last column first. and join afterward.

Pang_Hee_Choy_0-1679304273410.png

 

sparksun
11 - Bolide

I think you don't have to use iterative macro even if there are a number of columns

sparksun_0-1679306123226.png

 

Labels