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.
SOLVED

Joining the data from two inputs

Pravallika20
8 - Asteroid

Hi everyone,

 

I am having two excels with the data sets as:

field1field2
ae
bf
cg
dh
im
jn
ko
lp
qu
rv
sw
tx

 

field3field4
15
26
37
48

 

my final output should be :

field1field2field3field4
ae15
bf26
cg37
dh48
im15
jn26
ko37
lp48
qu15
rv26
sw37
tx4

 

8

 Can anyone please help me on this? Thanks in advance!!

 

6 REPLIES 6
mceleavey
17 - Castor
17 - Castor

Hi @Pravallika20 ,

 

this is an interesting one as it calls for repeating by how many records there are in input 2.

To do this I determined the number of records by assigning a record ID, then generated a multi row formula to create a repeating sequence of these numbers in input 1:

 

mceleavey_0-1623317864114.png

 

I then joined them together on these fields:

 

mceleavey_1-1623317908837.png

 

Hope this helps,

 

M.

 

 

 

 



Bulien

OllieClarke
15 - Aurora
15 - Aurora

Hey @Pravallika20 

 

How's this?

OllieClarke_0-1623317917912.png

 

Pravallika20
8 - Asteroid

Hi @mceleavey ,

 

Can u please attach the workflow

Pravallika20
8 - Asteroid

Hi @OllieClarke ,

 

This is perfect thank you so much

mceleavey
17 - Castor
17 - Castor

@Pravallika20 

apologies!

 

M.



Bulien

suby
11 - Bolide

Hi 

 

Could you please explain the expression below.

 

if [Row-1:RecordID]=[Row-1:Max_RecordID] then 1 else [Row-1:RecordID]+1 endif

 

 

Thanks

Labels