Alteryx Designer Desktop Discussions

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

Union tool - position union of second data stream

Dave
8 - Asteroid

Hi all

 

I have a data set that I am splitting into two steams, one to format the original set and another to summarize the original set (essentially sum-iffing in the summarize stream).

 

I want to then recombine the two streams with the summarized stream basically being pasted two columns after the formatted stream

 

Dave_0-1630592356083.png

 

However when I do the union it is positioning in the correct column (say column z) but it is starting after the last row of the first stream, so instead of positioning the summarized data starting in z2 it is starting it in z300

 

I believe the reason is that it is splitting the data in two rows in the union tool

 

Dave_1-1630592495918.png

 

Ideally there would be no #2 row I guess

 

I hope this makes sense - is union the wrong tool?

 

Dave

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @Dave 

 

Thats how union tool works. For your usecase you might need to implement more logic. Can you provide some sample input and expected output file we will be able to help you out.

Dave
8 - Asteroid

The files have protected info but essentially it is the following

 

Original file

 

Dave_0-1630593035932.png

 

Summarize data in separate stream 

 

Dave_1-1630593113686.png

 

output to new file

 

Dave_2-1630593183488.png

 

I basically want to combine the summarized data and the original file as above and output a new file

atcodedog05
22 - Nova
22 - Nova

Hi @Dave 

 

Can you provide the excel so that i can copy the data.

Dave
8 - Asteroid

sure - see attached, and thank you 🙂

atcodedog05
22 - Nova
22 - Nova

Hi @Dave 

 

Here is how you can do it. I summarize tool I am using name followed by space.

Workflow:

atcodedog05_0-1630594200850.png

 

Hope this helps : )

Labels