Alteryx Designer Desktop Discussions

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

How to replace the value

phoebe_90
8 - Asteroid
NumberAccountAmountCategory
100000645245082106.68 
10000064568121000-8.88709078
1000006462450821033.85 
100000646245082104.28 
1000006462450821024.00 
1000006462450821064.46 
1000006462450821048.13 
10000064624508210677.32 
10000064664015000-48.13706002
10000064665031000-33.85709536
10000064665080000-24.00709536
10000064666010000-677.32706002
10000064666020000-4.28709619
10000064666020000-31.56709619
10000064666020000-64.46709619

If "number" is the same and "account" is not equal 24508210 and the number of row is one, replace value of “Amount” to value of “Amount” of account=24508210.

Such us: from     

NumberAccountAmountCategory
100000645245082106.68 
10000064568121000-8.88709078

               to                                                                                                  

NumberAccountAmountCategory
100000645245082106.68 
100000645681210006.68709078
3 REPLIES 3
binuacs
20 - Arcturus

@phoebe_90 One way of doing it with the Multi-Row tool

 

binuacs_0-1679645212532.png

 

FrederikE
13 - Pulsar

Hey @phoebe_90,

 

I am not entirely sure what you want. Do you want to replace the amount within one number with the first amount of that number when the conditions are met?

Or are we really only talking about replacing everything with the Amount in the first row

phoebe_90
8 - Asteroid

I want to use the '"Number" to locate the relation between “Account”. And to select the object which I want to change the value.

If "number" is the same and "account" is not equal 24508210 and the number of row is one.

Such us:

Meet the criteria.

NumberAccountAmountCategory
100000645245082106.68 
10000064568121000-8.88709078

Fail to meet the criteria.

NumberAccountAmountCategory
1000006462450821033.85 
10000064664015000-48.13706002
10000064665031000-33.85709536
10000064665080000-24.00709536

And then replace value of “Amount” to value of “Amount” of account=24508210.

Such us: from     

NumberAccountAmountCategory
100000645245082106.68 
10000064568121000-8.88709078

               to                                                                                                  

NumberAccountAmountCategory
100000645245082106.68 
100000645681210006.68709078
Labels