We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to get the data from other columns when one field is empty

MadhavTR
8 - Asteroid

Input

referencegstcodeaccodeABN
0987P1123 
0987 4562345

 

Expected output

referencegstcodeaccodeABN
0987 4562345

 

can you suggest how to achieve this?

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Can you say more about the logic? It looks like you could just filter on empty gst code records to get your output. 

MadhavTR
8 - Asteroid

this is my exact usecase

 

Input

ReferencegstcodeAmountDescriptionABN
123P110GST 
123P111GST 
123P1100Amount 
123P1110Amount 
123 -210 ABCD1234

 

Output

ReferencegstcodeAmountTaxABN
123P121021ABCD1234

 

1. I created a filter for keyword GST and summarizing it (using summarize tool  group by reference, gstcode and sum(amount)

2. Then creates another filter for !GST and summarizing it (using summarize tool  group by reference, gstcode and sum(amount)

3. Join these 2 data to get

ReferencegstcodeAmountTax
123P121021

 

4. But now when i create a filter on gstcode null and then try to multiple join, that time it is failing and now working

Ken_Lam
4 - Baryon

Would a Multi Row Formula beforehand to fill in the blank gstcode (taking the gstcode from the row above) suffice?

That would allow the join multiple to work.

Multi Row.png

Labels
Top Solution Authors