Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

If Condition

Jaganmohan
8 - Asteroid

Hi Team,

 

Need help on below please :

Need to Create a comment column by using below logic.

Out of all transactions :
Same identifier with same fund having Description sell/resell with same amount of shares (sell -1280 and resell 1280 quantity of shares)  ... for those identifiers need to mentioned comment as "Trade reversal" and for others comment it as "NO" - Thanks In advance.

ex: same identifier 89  same fund as 123 with sell and resell description and same quantity of shares -1280 and 1280.

Output :

IdentifierDescriptionfundsharesComment
89sell123-1280Trade Reversal
89Resell1231280Trade Reversal
94sell789-4500Trade Reversal
98sell6669000No
94resell7894500Trade Reversal
56sell888-2300No
56resell8882200No

 

2 REPLIES 2
ShankerV
17 - Castor

@Jaganmohan 

 

Please find the expected output

 

ShankerV_0-1675690827964.png

 

Felipe_Ribeir0
16 - Nebula

Hi @Jaganmohan 

 

One way of doing this

 

Felipe_Ribeir0_0-1675690880682.png

 

Labels
Top Solution Authors