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

Copy Row Value after Union

JDong
8 - Asteroid

Hi All,

 

I have a union in my flow which is a combination of 4 outputs with same data structure.

 

 
 

 

Now in the next step I want to copy over just one line value to the similar lines on the other outputs

 

 

Union 1    
Column AColumn BValue 1Value 2Category
AppleOrange0.91.21
Strawberry 0.30.61
Banana 0.72.21

 

Union 2    
Column AColumn BValue 1Value 2Category
AppleOrange  2
Strawberry 3.34.32
Banana 1.63.42

 

Union 3    
Column AColumn BValue 1Value 2Category
AppleOrange  3
Strawberry 0.70.13
Banana 54.43

 

So as we see here the  split output is as follows and I want to copy or overwrite the values for Column A = Apple and Column B = Orange to union 2 and 3 from union 1

 

Desired output 

 

Column AColumn BValue 1Value 2Category
AppleOrange0.91.21
Strawberry 0.30.61
Banana 0.72.21
AppleOrange0.91.22
Strawberry 3.34.32
Banana 1.63.42
AppleOrange0.91.23
Strawberry 0.70.13
Banana 54.43

 

Thanks for the help in advance

14 REPLIES 14
atcodedog05
22 - Nova
22 - Nova

Hi @JDong 

 

I have made the yellow highlighted changes.

atcodedog05_0-1602151574579.png

 

Output:

atcodedog05_1-1602151608350.png

You can check it from your end too.  I have attached the modified workflow.

 

Hope this helps 🙂

JDong
8 - Asteroid

Hello @atcodedog05 

 

I think I see an issue

 

!IsNull([Value 1])and !IsEmpty(Trim([Value 1]," "))

 

Here the Value 1 column is not always empty and has some values at times and the flow needs to overwrite these values.

 

Can you please advise here ? Please refer to the attached updated data in the flow.

 

atcodedog05
22 - Nova
22 - Nova

Hi @JDong 

 

Is the condition like if one blank also it should overwrite. Or it should write in the blank places only.

atcodedog05
22 - Nova
22 - Nova

Hi @JDong 

 

Here are 2 versions.

 

Version 2: If either value 1 or value 2 is blank then completely overwrite row 1

atcodedog05_0-1602161882157.png

Version 3: If value 1 or value 2 is blank update only that value.

atcodedog05_1-1602162276388.png

 

Hope this helps 🙂

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂

 

Cheers and happy analyzing 😀

Labels