Alteryx Designer Desktop Discussions

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

Cancel the pair off which is coming as zero

Sshasnk
8 - Asteroid

I have multiple transactions from salary and I have to figure out the pair which is sum is not equal to zero

 

From the example below:  Salary Id;123 => 7000+(-7000) = zero-> Eliminate

                                          Salary Id 123 => 14200 + 2000+8800 = 25000 (which is equal to salary amount) -> Keep it

Same goes for                   Salary Id 789 => 789 => -2500 + (-2500 )= -5000 (which is equal to salary amount) -> keep it 

 

Note: The Idea is to eliminate the pair which is coming as zero

salary_IdTransactionsalary
123700025000
123-700025000
1231420025000
123200025000
123880025000
123-800025000
123800025000
45638008800
45650008800
789-2500-5000
789-2500-5000

 

Output:

salary_idTransactionsalary
1231420025000
123200025000
123880025000
45638008800
45650008800
789-2500-5000
789-2500-5000
2 REPLIES 2
DavidP
17 - Castor
17 - Castor

Does this give you what you want?

 

DavidP_0-1596179738859.png

 

PhilippK
Alteryx Alumni (Retired)

Hi @Sshasnk ,

 

please find the solution attached:

screenshot.PNG

 

 Is this the solution you were looking for?

 

Best regards

Phil

Labels