Free Trial

Alteryx Designer Desktop Discussions

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

Shifting data Up

Rhaldhar
8 - Asteroid

Hi, 

I am trying to shift data up in the top row. I have two data set DataA and DataB and doing following way please help me to get correctly and suggest the way how I can get.

 

DataA      DataB  
          
ABCAmountUnique  id  Unique  idNameAmount
Rajesh6355271  1Rajesh107
Rajesh9793801  2Suresh29
Suresh183782  3Naresh191
Naresh4944973  4Kartik85
Suresh789212  Grand Total 412
Kartik9618464     
Kartik917394     
Naresh7162183     
Naresh103763     

 

Using Union tool and getting below data.

 

ABCAmountUnique  idNameAmounts
Rajesh6355271[Null][Null]
Rajesh9793801[Null][Null]
Suresh183782[Null][Null]
Naresh4944973[Null][Null]
Suresh789212[Null][Null]
Kartik9618464[Null][Null]
Kartik917394[Null][Null]
Naresh7162183[Null][Null]
Naresh103763[Null][Null]
[Null][Null][Null][Null]1Rajesh107
[Null][Null][Null][Null]2Suresh29
[Null][Null][Null][Null]3Naresh191
[Null][Null][Null][Null]4Kartik85

 

Using output tool to get data in different tab on basis of Unique number then getting this way, giving an example

 

ABCAmountUnique  idNameAmounts
Rajesh6355271[Null][Null]
Rajesh9793801[Null][Null]
[Null][Null][Null][Null]1Rajesh107

 

But I want the data in this way, null cell should not there in last two column and available data come up as showing below screen.

 

ABCAmountUnique  idNameAmounts
Rajesh6355271Rajesh107
Rajesh9793801  
[Null][Null][Null][Null]1  

 

Thanks,

Rajeev

4 REPLIES 4
Raj
16 - Nebula

@Rhaldhar 
find the workflow attached
mark done if solved.

binuacs
21 - Polaris

@Rhaldhar try join instead of union

image.png

Rhaldhar
8 - Asteroid

Thank you @Raj  perfect solution.

Rhaldhar
8 - Asteroid

Thank you @binuacs  for looking the query.

Labels
Top Solution Authors