Alteryx Designer Desktop Discussions

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

Dynamic Sorting of Amounts

Divyajyothi7
8 - Asteroid

Hi

I have two datasets of Amounts, which needs to be matched based on Amount column

 

Amount - 1
-30000
-30000
-1500
-0.66
0.2
8000
3400
4500

 

Amount - 2
-30000
-30000
-2800
-0.66
-0.45
0.2
8000
3400
4500

 

Expected Output : two amounts needs to be matched, and need to be sorted based on Ascending

 

Amount - 1Amount - 2
-30000-30000
-30000-30000
 -2800
-1500 
-0.66-0.66
 -0.45
0.20.2
34003400
45004500
80008000
2 REPLIES 2
KGT
11 - Bolide

For starters, joining on Amounts is risky unless you know your data. Precision can get in the road pretty easily.

 

Next, what defines the difference between Row 1 and Row 2? Why do these match the corresponding row, but not Row 1 matching Row 2 etc?

 

You can achieve the core of what you are after with a join followed by a Union of all outputs, however to make sure you don't duplicate Row 1/2, you would require a few extra tools. Take a look at the attached to see how I've done that.

 

AlteryxGui_8IoD9V23HQ.png

 

Raj
16 - Nebula

@Divyajyothi7 another way of doing this.

Labels